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

allowNodeBuiltins are not passed through to rollup during build (works during dev) #1392

Closed
schickling opened this issue Jan 6, 2021 · 0 comments · Fixed by #1393
Closed

Comments

@schickling
Copy link
Contributor

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 of config.optimizeDeps.allowNodeBuiltins

onRollupWarning(warning, warn, [], options.rollupOptions?.onwarn)

Please provide a link to a repo that can reproduce the problem you ran into.

System Info

  • vite version: 2.0.0-beta.9
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