Skip to content

Commit

Permalink
[BUG] Snippet initialization with IE8/9 fails with minified code (wor…
Browse files Browse the repository at this point in the history
…ks with un-minified code) #1852
  • Loading branch information
MSNev committed Jun 14, 2022
1 parent 796caa3 commit 2bf1173
Show file tree
Hide file tree
Showing 22 changed files with 548 additions and 390 deletions.
6 changes: 6 additions & 0 deletions AISKU/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,15 @@ const browserRollupConfigFactory = (isProduction, libVersion = '2', format = 'um
browserRollupConfig.plugins.push(
uglify({
ie8: true,
ie: true,
toplevel: true,
compress: {
ie: true,
passes:3,
unsafe: true
},
output: {
ie: true,
preamble: banner,
webkit:true
}
Expand Down Expand Up @@ -128,12 +131,15 @@ const nodeUmdRollupConfigFactory = (isProduction) => {
nodeRollupConfig.plugins.push(
uglify({
ie8: true,
ie: true,
toplevel: true,
compress: {
ie: true,
passes:3,
unsafe: true
},
output: {
ie: true,
preamble: banner,
webkit:true
}
Expand Down
6 changes: 6 additions & 0 deletions AISKULight/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ const browserRollupConfigFactory = (isProduction, libV = '2') => {
browserRollupConfig.plugins.push(
uglify({
ie8: true,
ie: true,
toplevel: true,
compress: {
ie: true,
passes:3,
unsafe: true
},
output: {
ie: true,
preamble: banner,
webkit:true
}
Expand Down Expand Up @@ -114,12 +117,15 @@ const nodeUmdRollupConfigFactory = (isProduction) => {
nodeRollupConfig.plugins.push(
uglify({
ie8: true,
ie: true,
toplevel: true,
compress: {
ie: true,
passes:3,
unsafe: true
},
output: {
ie: true,
preamble: banner,
webkit:true
}
Expand Down
6 changes: 6 additions & 0 deletions channels/applicationinsights-channel-js/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,15 @@ const browserRollupConfigFactory = isProduction => {
browserRollupConfig.plugins.push(
uglify({
ie8: true,
ie: true,
toplevel: true,
compress: {
ie: true,
passes:3,
unsafe: true
},
output: {
ie: true,
preamble: banner,
webkit:true
}
Expand Down Expand Up @@ -113,12 +116,15 @@ const nodeUmdRollupConfigFactory = (isProduction) => {
nodeRollupConfig.plugins.push(
uglify({
ie8: true,
ie: true,
toplevel: true,
compress: {
ie: true,
passes:3,
unsafe: true
},
output: {
ie: true,
preamble: banner,
webkit:true
}
Expand Down
Loading

0 comments on commit 2bf1173

Please sign in to comment.