Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Make generated helper file have .js extension in preserveModules mode #373

Merged
merged 3 commits into from Apr 2, 2019

Conversation

creationix
Copy link
Contributor

I'm using rollup to build files for a custom JS platform that has es module support, but it does require .js extensions for all modules.

If you use this plugin with preserveModules turned on, it generates a file _virtual/_commonjsHelpers with no extension.

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants