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

This commit is contained in:
Iván Sánchez Ortega 2017-11-20 10:34:18 +01:00 committed by GitHub
parent 047780659b
commit 67ab617f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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()
] ]

View File

@ -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()
] ]

View File

@ -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",