microsoft / monaco-editor-webpack-plugin

Moved to https://github.com/microsoft/monaco-editor
483 stars 99 forks source link

Safari errors #129

Closed sthielen closed 3 years ago

sthielen commented 3 years ago

Hi, I'm having some issues with 2.0.0 of this plugin and 0.21.2 on Safari. Trying to instantiate Monaco throws an error:

SyntaxError: Invalid regular expression: invalid group specifier name
(anonymous function) — npm.monaco-editor.12d5c85ea098be9f99ac.chunk.js:1
npm.sentry.3bad29c3529268800cfc.chunk.js:1:9733

Looks like it might be related to this, but I haven't been able to fix it. Any ideas?

mattgodbolt commented 3 years ago

I concur it's linked to that issue, and is exarcebated by #125 as we can't exclude dart language.

alexdima commented 3 years ago

Duplicate of https://github.com/microsoft/monaco-editor/issues/2179