use bootstrap as entry point webpack code example
Example 1: ./node_modules/bootstrap/dist/js/bootstrap.bundle.js
npm i --save-dev bootstrap@next bootstrap-loader tether jquery
Example 2: ./node_modules/bootstrap/dist/js/bootstrap.bundle.js
npm install --save resolve-url-loader --dev