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
inlineDynamicImports per output #2701
Comments
@ashubham
|
Oh thats nice, I did not know it. Thanks @andrewebdev Although, while it solves the issue there is still redundant code (like plugins, input etc). Which I agree we can work around by having common Still, I think since its a property which transforms the |
You might be interested to know that #3645 will implement what you originally suggested |
Expected Behavior / Situation
inlineDynamicImports
should work per output. For eg. I have a project with dynamic imports which I want to bundle for Modern Browsers(Chrome/Safari) using native dynamic imports. Also, I want to create an IIFE for IE11/FF, with the dynamic imports inlined in the output bundle.Actual Behavior / Situation
inlineDynamicImports
is a top level config option, making it all or nothing. The workaround is to have multiple configurtions and run rollup again but that is sub optimal.Modification Proposal
Make
inlineDynamicImports
an output level configuration item.The text was updated successfully, but these errors were encountered: