@vitejs/plugin-legacy breaks code: Failed to resolve import "_" from "dist/main.js". Does the file exist?
#17471
Closed
7 tasks done
Labels
Describe the bug
This only happens when using
legacy
plugin.I'm trying to build static js files to import them in differents sites. When I try to load the dist files, I get an error:
Used Package Manager
npm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: