You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snowpack create common files in web_modules that are discarded by resolveWebModule (1), thus leading to error like this one [vite] Error while resolving node_modules with id "common/react-8a00ae8c.js":
(1): in node_modules/vite/dist/server/serverPluginModuleRewrite.js:61
Describe the bug
Snowpack create common files in
web_modules
that are discarded byresolveWebModule
(1), thus leading to error like this one[vite] Error while resolving node_modules with id "common/react-8a00ae8c.js":
(1): in node_modules/vite/dist/server/serverPluginModuleRewrite.js:61
Current and silly workaround is to manually remove the common file and copy paste its content in the library files that need it.
System Info
vite
version:"^0.12.0"The text was updated successfully, but these errors were encountered: