Skip to content

Commit

Permalink
Retarget webpack to es5 for IE11 (old outlook) support
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenegriffin committed Jun 11, 2022
1 parent 3309758 commit 2dda014
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"mini-css-extract-plugin": "^2.6.0",
"office-addin-debugging": "^4.3.14",
"office-addin-dev-certs": "^1.7.10",
"office-addin-dev-settings": "^1.11.4",
"office-addin-manifest": "^1.8.1",
"source-map-loader": "^3.0.1",
"style-loader": "^3.3.1",
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ module.exports = async (env, options) => {
].concat(generateHtmlWebpackPlugins()),
mode: 'development',
devtool: 'source-map',
target: ['web', 'es5'],
module: {
rules: [
{ test: /fabric(\.min)?\.js$/, use: 'exports-loader?exports=fabric' },
Expand Down

0 comments on commit 2dda014

Please sign in to comment.