-
Notifications
You must be signed in to change notification settings - Fork 197
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
[Bug] Warning during vite build: "spawn" is not exported by "__vite-browser-external" #3110
Comments
@oscar-b Thanks for reporting. However without a repro this isn't really actionable (other than doing a speculative refactor of the worker-utils)
|
Also, does this actually break the build, or is it just a warning? |
As far as I can see, it's only a warning. I don't know how I'd trigger the use of it though, or why it'd need I will see if I can setup a minimal repo with test, but it being just a warning might also be part of the issue I guess :) |
|
@ibgreen I see! Well it doesn't immediately seem to be causing issues, so this is most likely a quite harmless warning. I guess something like this could be used to filter out the warning if one would want to: https://vitejs.dev/config/shared-options.html#customlogger |
I have a related problem: trying to build a Custom Layer in iife format so it can be used in/with pydeck results in: https://rollupjs.org/troubleshooting/#error-name-is-not-exported-by-module Probably related: #2000 My branch if anyone is interested: https://github.com/prusswan/deck.gl-pmtiles/tree/overture |
Seeing this now, cant seem to suppress the warning even with https://vitejs.dev/config/shared-options.html#customlogger |
Loader
"@loaders.gl/core": "^4.2.5",
Description
Expected Behavior
No response
Steps to Reproduce
Compile project with Vite
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: