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
I'm instantiating a web worker from the monaco-yaml library. In v2, nothing unusual happens when I do this. In v3 beta 6, dev works normally, but in a build, the build fails with this error:
[vite:worker] 'Schema' is not exported by node_modules/js-yaml/index.js, imported by node_modules/monaco-yaml/lib/esm/_deps/yaml-language-server/lib/esm/languageservice/utils/parseUtils.js
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
I'm no longer able to reproduce this issue after updating to [email protected]. @davidwallacejackson I'm going to close it now, but let us know if you still see an issue here.
Describe the bug
I'm instantiating a web worker from the
monaco-yaml
library. In v2, nothing unusual happens when I do this. In v3 beta 6, dev works normally, but in a build, the build fails with this error:Reproduction
https://stackblitz.com/edit/vitejs-vite-6xf52e?file=package.json,src%2FApp.tsx,src%2Fmonaco-setter.ts,src%2Fvite-env.d.ts,README.md&terminal=dev
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: