Skip to content
This repository was archived by the owner on Jan 10, 2019. It is now read-only.

Don't use Babel for rewriting require statements #10

Open
novemberborn opened this issue Oct 17, 2016 · 2 comments
Open

Don't use Babel for rewriting require statements #10

novemberborn opened this issue Oct 17, 2016 · 2 comments

Comments

@novemberborn
Copy link
Owner

It's ridiculously slow for this use case.

@sindresorhus
Copy link

Just a regex instead?

@novemberborn
Copy link
Owner Author

Yea. Something that matches require() with '', "" and ```` strings. Need to make sure those later strings don't have interpolation. Perhaps there's something already out there that solves this use case.

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

No branches or pull requests

2 participants