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

fix: remove colon from module prefixes #371

Merged
merged 2 commits into from Apr 4, 2019

Conversation

Manduro
Copy link
Contributor

@Manduro Manduro commented Jan 31, 2019

When using Rollup with the preserveModules option set, it outputs all modules to files. External commonjs modules end up with a file name like _commonjs-external:modulename. Using a colon inside a file name is invalid and results in a lot of problems.

When using Rollup with the `preserveModules` option set, it outputs all modules to files. External commonjs modules end up with a file name like `_commonjs-external:modulename`. Using a colon inside a file name is invalid and results in a lot of problems.
@lukastaegert
Copy link
Member

Thanks! Nevertheless, I prefer to actually fix this upstream: rollup/rollup#2792

@lukastaegert
Copy link
Member

Ok, seems colons are actually important on windows, so back to your approach...

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.

👍

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