Skip to content

Commit

Permalink
Merge pull request #906 from huochunpeng/enforce-single-aurelia-bindi…
Browse files Browse the repository at this point in the history
…ng-for-webpack

fix: enforce single aurelia-binding in webpack bundle
  • Loading branch information
JeroenVinke authored Jul 26, 2018
2 parents 2bb862e + 911b3d7 commit d5135af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/resources/content/webpack.config.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ module.exports = ({production, server, extractCss, coverage, analyze} = {}) => (
extensions: ['.js'],
// @endif
modules: [srcDir, 'node_modules'],
// Enforce single aurelia-binding, to avoid v1/v2 duplication due to
// out-of-date dependencies on 3rd party aurelia plugins
alias: { 'aurelia-binding': path.resolve(__dirname, 'node_modules/aurelia-binding') }
},
entry: {
app: ['aurelia-bootstrapper'],
Expand Down

0 comments on commit d5135af

Please sign in to comment.