Webpack Bootstrap
Easy implement webpack for any kind of font-end app.
Install
npm install webpack-bootstrap --save-dev
Tasks
Webpack-bootstrap support build
and dev
task right now. Set a script in package.json
to easily invoke tasks.
When you run the tasks below first time, you will been asked for which liberary you wanna compile, and then save this in .wbootrc
in your package root folder.
"scripts": {
"wboot": "wboot"
}
build
Create a js bundle from src/index
, the extension can be js/jsx
.
yarn wboot build
start
Start a local server.
yarn wboot dev