We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The allowNodeBuiltins option isn't passed through during the build step and therefore gets ignored. It does work though during dev.
allowNodeBuiltins
See the [] as 3rd parameter instead of config.optimizeDeps.allowNodeBuiltins
[]
config.optimizeDeps.allowNodeBuiltins
vite/packages/vite/src/node/build.ts
Line 283 in 956cd2c
vite
The text was updated successfully, but these errors were encountered:
fix(build): Pass allowNodeBuiltins to rollup instead of empty array (…
f209ad9
…Fixes #1392) (#1393)
Successfully merging a pull request may close this issue.
Describe the bug
The
allowNodeBuiltins
option isn't passed through during the build step and therefore gets ignored. It does work though during dev.Reproduction
See the
[]
as 3rd parameter instead ofconfig.optimizeDeps.allowNodeBuiltins
vite/packages/vite/src/node/build.ts
Line 283 in 956cd2c
Please provide a link to a repo that can reproduce the problem you ran into.
System Info
vite
version: 2.0.0-beta.9The text was updated successfully, but these errors were encountered: