christianalfoni / webpack-express-boilerplate

A boilerplate for running a Webpack workflow in Node express
MIT License
1.4k stars 292 forks source link

add webpack-node-externals #44

Closed cravoley closed 8 years ago

cravoley commented 8 years ago

By adding this lib it is possible to add any node external lib without compilation problem. webpack ignore all 'node exclusive' libs

christianalfoni commented 8 years ago

Hi there! :)

As I understand this is just for using webpack with a Node backend, to avoid modules like fs etc. to be parsed. On the frontend you would only use browser compliant packages anyways.

Or am I misunderstanding something?

cravoley commented 8 years ago

Indeed @christianalfoni. I was working on a backend/frontend project on top of your boilerplate. Please, ignore my pull request :)

christianalfoni commented 8 years ago

👍 :)