Open caleb1248 opened 1 month ago
I've just checked and I'm unable to reproduce. Can you provide a minimal reproduction repo or at least the generated invalid code?
Here is my code: https://codesandbox.io/p/devbox/monaco-vscode-api-test-forked-jh4ntq
This line below causes the vite error screen in dev mode ("npm run dev").
import "./assets/theme.vsix";
However, no error is produced when running npm run build
I've just forked and tried your sandbox, and I see no issue :thinking:
Do you use a special env configuration or something? What is your operating system?
I have no special env configuration, and I have been making the app entirely in CodeSandbox (no local machine).
I see your error on your sandbox, but if I restart vite there is no error, either on linux or windows
This issue is stale because it has been open for 30 days with no activity.
I installed the rollup vsix plugin and when importing it, I got this error:
It works fine when building for production though. How do I get the vsix plugin to work in dev mode?