From ff132450aaf16c220fa1332938e11c92a3bd21a4 Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Wed, 19 Feb 2020 08:28:39 +1100 Subject: [PATCH] feat(webpack): show aurelia-dialog patch for IE11 issue --- skeleton/webpack/webpack.config.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/skeleton/webpack/webpack.config.js b/skeleton/webpack/webpack.config.js index f21e54f6e..4b7e7c0d9 100644 --- a/skeleton/webpack/webpack.config.js +++ b/skeleton/webpack/webpack.config.js @@ -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: [