futurist / rollup-plugin-es3

Make rollup compatible with ES3
MIT License
5 stars 4 forks source link

Also remove Object.freeze? #1

Closed developit closed 8 years ago

developit commented 8 years ago

Rollup calls Object.freeze() on exports when using wildcard imports, which also breaks in IE9-. Thinking it could be stripped out the same way.

futurist commented 8 years ago

Added, please check https://github.com/futurist/rollup-plugin-es3/commit/3e3e5f07a3dd700b93cbef666743c68d62f249cf

developit commented 8 years ago

Hmm - it seems to break sourceMaps?

developit commented 8 years ago

Here's the change: https://github.com/developit/preact-redux/commit/6a4ac37f792e31622ca9bfe4029ee691dfada199 And here's the build failure: https://travis-ci.org/developit/preact-redux/jobs/153546541

developit commented 8 years ago

Sent a PR (#2).

futurist commented 8 years ago

Merged, thank you!