1.6.5 • Published 4 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
4 years ago
1.6.4
4 years ago
1.6.3
4 years ago
1.6.2
4 years ago
1.6.1
4 years ago
1.6.0
4 years ago
1.5.1
4 years ago
1.5.0
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.9
4 years ago
1.3.7
4 years ago
1.3.8
4 years ago
1.3.6
4 years ago
1.3.5
4 years ago
1.3.4
4 years ago
1.3.3
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.2.0
4 years ago
1.2.1
4 years ago
1.1.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago