Skip to content

Commit

Permalink
fix: enforce single aurelia-binding in webpack bundle
Browse files Browse the repository at this point in the history
This is to avoid v1/v2 duplication due to out-of-date dependencies on 3rd party aurelia plugins.
  • Loading branch information
3cp committed Jul 26, 2018
1 parent 2bb862e commit 911b3d7
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 911b3d7

Please sign in to comment.