Please sign in to comment.
fix(webpack.config.template.js): change webpack config to fix bundle …
…duplication issue Updating the webpack config to use optimization.splitChunks rather than entry.vendor resolves an issue that appears when jQuery or Bootstrap is added. When attempting to use jQuery or the jQuery Bootstrap extensions in code, webpack is duplicating jQuery across the app end vendor bundles. Using optimization.splitChunks allows webpack to workout the dependencies and also reduces the size of the generated bundles by splitting them up. fixes this issue: #958
- Loading branch information...
Showing with 53 additions and 2 deletions.