1.6.5 • Published 5 years ago
bundler-plate v1.6.5
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
bp
ornpx 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"
}
1.6.5
5 years ago
1.6.4
5 years ago
1.6.3
5 years ago
1.6.2
5 years ago
1.6.1
5 years ago
1.6.0
5 years ago
1.5.1
5 years ago
1.5.0
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.9
5 years ago
1.3.7
5 years ago
1.3.8
5 years ago
1.3.6
5 years ago
1.3.5
6 years ago
1.3.4
6 years ago
1.3.3
6 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.2.0
6 years ago
1.2.1
6 years ago
1.1.0
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago