From 382d60259646a5943d3ad636763621d5db915a85 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Wed, 30 Dec 2020 11:56:23 +0100 Subject: [PATCH] Fix #1206: library bundle broken on IE 11 --- HISTORY.md | 5 +++++ gulpfile.js | 2 ++ 2 files changed, 7 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 9c41c6d36..00be5e6f7 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,6 +3,11 @@ https://github.com/josdejong/jsoneditor +## not yet published, version 9.1.7 + +- Fix #1206: library bundle broken on IE 11, regression introduced in v9.1.6. + + ## 2020-12-23, version 9.1.6 - Fix #1192: enum dropdown from a JSON schema not rendered when using diff --git a/gulpfile.js b/gulpfile.js index d366de297..7979c1dee 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -55,6 +55,7 @@ const webpackConfigModule = { // create a single instance of the compiler to allow caching const compiler = webpack({ entry: ENTRY, + target: ['web', 'es5'], output: { library: 'JSONEditor', libraryTarget: 'umd', @@ -77,6 +78,7 @@ const compiler = webpack({ // create a single instance of the compiler to allow caching const compilerMinimalist = webpack({ entry: ENTRY, + target: ['web', 'es5'], output: { library: 'JSONEditor', libraryTarget: 'umd',