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

Silence warning about dynamic import when a dynamically imported module is inlined. #13967

Closed
4 tasks done
Disservin opened this issue Jul 27, 2023 · 0 comments · Fixed by #13970
Closed
4 tasks done

Comments

@Disservin
Copy link
Contributor

Description

Since #12850 a warning is generated when a dynamic import is alongside a static import.

I dont think it makes sense to show this warning when inlineDynamicImports is set to true in the rollupOptions.output. The user is already aware that it wont be moved into a new chunk, because he explicitly used that option.

Suggested solution

Disable the warning in such cases.

Alternative

No response

Additional context

No response

Validations

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

Successfully merging a pull request may close this issue.

1 participant