Skip to content
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

no default export #86

Open
yairEO opened this issue Jul 21, 2020 · 1 comment
Open

no default export #86

yairEO opened this issue Jul 21, 2020 · 1 comment

Comments

@yairEO
Copy link

yairEO commented Jul 21, 2020

such a shame.. i'm automatically importing all the NPM modules to my gulp and those without default export don't work. this is the first time (in many years) I see a module without a default export

would you mind making it so? :)

@TrySound
Copy link
Owner

Hi. Rollup supports plugin importing via cli as well but it also do not stick with default export
https://github.com/rollup/rollup/blob/master/cli/run/commandPlugins.ts#L70

I'm personally do not consider default export the right tool for everything. It was initially added to spec as interop with commonjs, json and other non-js modules.

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

No branches or pull requests

2 participants