I am currently working on a project that partially depends on dependencies only on "bower only", and I need to somehow add the bower_components module to Webpack 2. How can I do this? The documentation from the previous version does not work, and the bower-webpack-plugin is out of date. I am using Webpack@2.2.1. I added this code to webpack.config.js:
resolve: {
extensions: ['.js', '.jsx'],
modules: ['bower_components', 'node_modules']
}
But, unfortunately, this does not work.
source
share