- Require
jade
,coffee
,less
cordova.js
should be loaded externally- Copy file assets (png,jpg,ttf,etc) rather than hashing them.
- Multiple, independant bundles:
/src/[name]/main.js --> /dist/[name]/bundle.js
##Enhancements:
I've created copy-loader and copy-url-loader. Meanwhile, they are improving the file-loader
Adds the webpack-dev-server live-reload to the bundle, so you have live-reload without the default iframe.
- update
./config.xml
entry-point. When --sync is specified, points to webpack-dev-server. - update
./config.xml
to package.json version (convenience stuff) - set output-path to
./www
- similar to
-p
, but I can config the values. I turned UglifyJS mangle off, because it broke an app.
- shortcut to set a global window.TARGET variable. Useful to maintain multiple configurations.
- only pack a single bundle (can improve build times if you have lot of bundles)