Tweak 'legacy' option in rollup config (#5929)

carto
Iván Sánchez Ortega 7 years ago committed by GitHub
parent 047780659b
commit 67ab617f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,9 +30,9 @@ export default {
format: 'umd', format: 'umd',
name: 'L', name: 'L',
banner: banner, banner: banner,
sourcemap: true, sourcemap: true
legacy: true // Needed to create files loadable by IE8
}, },
legacy: true, // Needed to create files loadable by IE8
plugins: [ plugins: [
release ? json() : rollupGitVersion() release ? json() : rollupGitVersion()
] ]

@ -20,9 +20,9 @@ export default {
format: 'umd', format: 'umd',
name: 'L', name: 'L',
banner: banner, banner: banner,
sourcemap: true, sourcemap: true
legacy: true // Needed to create files loadable by IE8
}, },
legacy: true, // Needed to create files loadable by IE8
plugins: [ plugins: [
rollupGitVersion() rollupGitVersion()
] ]

@ -20,7 +20,7 @@
"mocha": "^3.1.0", "mocha": "^3.1.0",
"phantomjs-prebuilt": "^2.1.12", "phantomjs-prebuilt": "^2.1.12",
"prosthetic-hand": "^1.3.1", "prosthetic-hand": "^1.3.1",
"rollup": "^0.49.2", "rollup": "^0.51.8",
"rollup-plugin-git-version": "0.2.1", "rollup-plugin-git-version": "0.2.1",
"rollup-plugin-json": "^2.1.0", "rollup-plugin-json": "^2.1.0",
"rollup-watch": "^4.3.1", "rollup-watch": "^4.3.1",

Loading…
Cancel
Save