-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error, plugin load hook should return a string. #15
Comments
Ah, it's because |
Ah, crap. Well, the same node_modules that were missing when using Rollup directly, are now still missing. Screw it, I'm not using Rollup. I will live with Webpack's heavier output because..... it just works! |
I don't have any further insights, but am facing the same error. We are consuming some library code that has empty I'd still be happy to get the setup working with this loader, because we're currently creating a |
Ah, I've actually encountered this problem before. With the exact same core-js file too. Why did I never fix it... I believe this is a bug in rollup itself; it tests the string for truthiness, so an empty string breaks it. I'll PR a fix. If it turns out that's intended, I'll add (But yes, this is very much a hack. I should make that clear in the readme.) |
(sorry about the delay, btw) |
rollup 0.55.1 has the fix. |
I'm getting:
My config looks like this:
where
rollupConfig
is this:Any ideas what it might be? I thought about putting
commonjs
rollup plugin because I need to import from node_modules, and they aren't all ES6 Modules.The text was updated successfully, but these errors were encountered: