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',
name: 'L',
banner: banner,
sourcemap: true,
legacy: true // Needed to create files loadable by IE8
sourcemap: true
},
legacy: true, // Needed to create files loadable by IE8
plugins: [
release ? json() : rollupGitVersion()
]

View File

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

View File

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