A simple no configuration module bundler.
- Support js, css, image and font files.
- Dynamically loading the js and css.
- Code splitting.
- Default support for jsx syntax.
- Bundle name with bundle hash to support caching.
- Minified js files.
npm install -g @itsprakash87/packer
packer ./main.js -o ./build
| Options | Use |
| --output or -o | Output directory. |
| --publicPath | Public path of bundled assets. |
| --babelrc | Path to custom babel configuration file. Packer will use that config to parse js files. |
| --template | Path to HTML template. Packer will inject the js and css bundle urls and create a new HTML file in output directory. |
| --nominify | Skip minifying js files. |

