Skip to content

Commit

Permalink
pkp/pkp-lib#6537 Fix browser compatibility with IE 11
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Jan 21, 2021
1 parent 868f90b commit 3e9a21f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
"ie >= 10"
]
}
9 changes: 8 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,12 @@ module.exports = {
watch: false
},
outputDir: path.resolve(__dirname, 'js'),
runtimeCompiler: true
runtimeCompiler: true,
// Part of the vue2-dropzone library is not transpiled
// as part of the normal build process, which results
// in errors in < IE 11. This directive makes sure the
// dependencies are included when babel transpiles code
// See: https://github.com/rowanwins/vue-dropzone/issues/439
// See: https://stackoverflow.com/a/58949645/1723499
transpileDependencies: ['vue2-dropzone']
};

0 comments on commit 3e9a21f

Please sign in to comment.