Easy implement webpack for any kind of font-end app.
yarn add webpack-bootstrap --dev
or
npm install webpack-bootstrap --save-dev
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"
}
Create a js bundle from src/index
, the extension can be js/jsx
.
yarn wboot build
or
npm run wboot build
Start a local server.
yarn wboot dev