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

Dynamic imports generates error #43

Closed
marcuslindblom opened this issue Apr 26, 2020 · 1 comment
Closed

Dynamic imports generates error #43

marcuslindblom opened this issue Apr 26, 2020 · 1 comment
Labels

Comments

@marcuslindblom
Copy link

I use dynamic imports in my code and when I try to use klap i get the following error. Error: You must set "output.dir" instead of "output.file" when generating multiple chunks.

It seems to be an issue with rollup and it can be solved by using this configuration for rollup.

{
    inlineDynamicImports: true,
}

See issue

@osdevisnot
Copy link
Owner

🎉 This issue has been resolved in version 4.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants