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: support experimental.useVitePreprocess option for Vite 2.8 #240

Merged
merged 1 commit into from
Dec 31, 2021

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Dec 31, 2021

Add preserveValueImports: true, which was a breaking change for esbuild 0.14 where it is preferred over importsNotUsedAsValues: 'preserve'. I think importsNotUsedAsValues can be removed too as they overlap a lot, but keeping as is seems to work fine and backwards-compatible too.

@bluwy bluwy merged commit fb5591f into main Dec 31, 2021
@bluwy bluwy deleted the fix-useVitePreprocess branch December 31, 2021 10:03
@github-actions github-actions bot mentioned this pull request Dec 31, 2021
@github-actions github-actions bot mentioned this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants