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

fix(build): silence warn dynamic import module when inlineDynamicImports true #13970

Merged
merged 3 commits into from
Aug 1, 2023

Conversation

Disservin
Copy link
Contributor

@Disservin Disservin commented Jul 27, 2023

Description

fix #13967. Skip the module check if inlineDynamicImports is enabled.

Additional context

I'm a bit unsure about the multiple arrays which rollup supports. I think in vite we support only 1 anyway and at some other place in the code it always took the first one too. Also I'm not sure if the test was added in the correct place/way.


What is the purpose of this pull request?

  • Other

@stackblitz
Copy link

stackblitz bot commented Jul 27, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

patak-dev
patak-dev previously approved these changes Jul 27, 2023
@patak-dev patak-dev added p3-minor-bug An edge case that only affects very specific usage (priority) feat: build labels Jul 27, 2023
@patak-dev
Copy link
Member

@Disservin would you resolve the conflicts when you get some time? We merged:

@bluwy bluwy changed the title feat(build): silence warn dynamic import module when inlineDynamicImp… fix(build): silence warn dynamic import module when inlineDynamicImports true Aug 1, 2023
@patak-dev patak-dev merged commit 7a77aaf into vitejs:main Aug 1, 2023
@Disservin Disservin deleted the 13967-silence-warning branch August 1, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: build p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Silence warning about dynamic import when a dynamically imported module is inlined.
4 participants