Sample usage of Webpack with bower a library (in this case stamplay-js-sdk).
npm run build
to run webpack and generate bundle filenpm run start
to execute webpack-dev-server with watch mode
There are same questions about how to require npm modules first and then bower. In my case I want to use stamplay-js-sdk (that is not available in npm)