Skip to content

Comments

fix(optimizer): don't externalize transitive dep package name with asset extension#18152

Merged
patak-dev merged 4 commits intovitejs:mainfrom
hi-ogawa:fix-pre-bundle-dep-with-asset-ext
Oct 7, 2024
Merged

fix(optimizer): don't externalize transitive dep package name with asset extension#18152
patak-dev merged 4 commits intovitejs:mainfrom
hi-ogawa:fix-pre-bundle-dep-with-asset-ext

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Sep 20, 2024

Description

#16242 handled the case of require call, but it looks like it should cover import as well. This was suggested in #16242 (comment) and probably this is indeed necessary to handle external package name like import "some-package.pdf".

@bolt-new-by-stackblitz
Copy link

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

@hi-ogawa hi-ogawa marked this pull request as ready for review September 20, 2024 07:42
@sapphi-red sapphi-red added p3-minor-bug An edge case that only affects very specific usage (priority) feat: deps optimizer Esbuild Dependencies Optimization labels Sep 26, 2024
@patak-dev
Copy link
Member

/ecosystem-ci run

@vite-ecosystem-ci
Copy link

@hi-ogawa
Copy link
Contributor Author

/ecosystem-ci run sveltekit

@vite-ecosystem-ci
Copy link

📝 Ran ecosystem CI on b4910a9: Open

sveltekit

@hi-ogawa
Copy link
Contributor Author

I reran sveltekit and CI passed, so it was probably a flake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: deps optimizer Esbuild Dependencies Optimization 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.

The object is created with the old class name, but the instanceof check is performed with the renamed class name

3 participants