rollup / rollup-plugin-commonjs

This module has moved and is now available at @rollup/plugin-commonjs / https://github.com/rollup/plugins/blob/master/packages/commonjs
MIT License
502 stars 126 forks source link

Add support for experimentalCodeSplitting from Rollup 0.55.0 #283

Closed jthoms1 closed 6 years ago

jthoms1 commented 6 years ago

This pull request is to close issue #282. The code update includes changes to allow for an array of file paths as well as a single string for input/entry. I have also added tests to ensure we have coverage.

As part of this PR I had to upgrade the project's rollup dependency to 0.55. It appears that in doing so a test was failing for sourcemap paths. If a sourcemapFile is supplied then the internal sourcemap paths should be relative.

kristianmandrup commented 6 years ago

Please merge this PR ASAP. It is currently blocking a critical update to stencilJS, in order to make the 1.0 release with full ES module support. Thanks :)

kristianmandrup commented 6 years ago

Awesome!!!