Skip to content

Commit

Permalink
feat(webpack): show aurelia-dialog patch for IE11 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Feb 19, 2020
1 parent bf1c6f3 commit ff13245
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions skeleton/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,17 @@ module.exports = ({ production } = {}, {extractCss, analyze, tests, hmr, port, h
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') }

alias: {
// https://github.com/aurelia/dialog/issues/387
// Uncomment next line if you want to use aurelia-dialog on IE11
// 'aurelia-dialog': path.resolve(__dirname, 'node_modules/aurelia-dialog/dist/umd/aurelia-dialog.js'),

// https://github.com/aurelia/binding/issues/702
// Enforce single aurelia-binding, to avoid v1/v2 duplication due to
// out-of-date dependencies on 3rd party aurelia plugins
'aurelia-binding': path.resolve(__dirname, 'node_modules/aurelia-binding')
}
},
entry: {
app: [
Expand Down

0 comments on commit ff13245

Please sign in to comment.