Closed AndersMad closed 4 days ago
now also in 0.51.0
This is also happening on the monaco editor official website:
try like this
import EditorWorker from worker-loader?inline=no-fallback!./node_modules/monaco-editor/esm/vs/editor/editor.worker
We're seeing this in the released version too (0.52.0), but only on diffEditor
s
in v0.52 this has been fixed if you use absolute paths: requirejs.config({ paths: { "vs": window.location.origin + "/scripts/modelyn-editor/vs" ..
(I am using requirejs) and @mattgodbolt I also tested the diff and that works fine.
@AndersMad we're using webpack
; any advice on that welcomed.
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
If I update from
0.50.0
to0.51.0-rc2
I get these errors:Downgrade and it works again. Using requirejs as loader - everything has worked fine for years.
I know its RC - just a heads up.
Actual (Problematic) Behavior
No response
Expected Behavior
No response
Additional Context
No response