monaco-editor/esm/vs/basic-languages/wgsl/wgsl.js: e.charCodeAt is not a function #4207
Unanswered
bhavyashah98
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @bhavyashah98, I think you need to import the following file instead src/basic-languages/wgsl/wgsl.contribution.ts: import 'monaco-editor/esm/vs/basic-languages/wgsl/wgsl.contribution.js'; It's the file where it would register the language. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Monaco-editor v0.37.1
Next v12.2.1-canary.1
Upgrade monaco version from v0.33.0 to v0.37.1
While running next build getting error
monaco-editor/esm/vs/basic-languages/wgsl/wgsl.js: e.charCodeAt is not a function
Actual (Problematic) Behavior
Was working fine with monaco-editor v0.33.0. Breaking for v0.37.1
Expected Behavior
next build should run fine
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions