bundler-plate
v1.6.5
Published
A CLI generates a boilerplate and config file for webpack/gulp with the most recommended and commonly used configurations.
Maintainers
Readme
bundler-plate
A CLI generates a starter config file for webpack/gulp with the most commonly used and recommended configurations.

Installation
npm i -D bundler-plate
Or
yarn add -D bundler-plate
Usage
- Run
bpornpx bp. - Give inputs/answers to the generated questions.
For Webpack Add these 2 npm scripts to your package.json:
"scripts": {
...
"build": "cross-env NODE_ENV=prod webpack",
"serve": "cross-env NODE_ENV=dev webpack-dev-server"
}For gulp Add these 3 npm scripts to your package.json:
"scripts": {
...
"build": "gulp",
"serve": "gulp serve",
"watch": "gulp watch"
}