webpack settings for bootstrap code example
Example 1: how to use bootstrap in webpack
$ npm install autoprefixer css-loader node-sass postcss-loader sass-loader style-loader --save-dev
Example 2: ./node_modules/bootstrap/dist/js/bootstrap.bundle.js
npm i --save-dev bootstrap@next bootstrap-loader tether jquery