Skip to content

Commit

Permalink
Fallback monaco-editor to v0.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed Aug 27, 2024
1 parent a8802ee commit 2ff6189
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ const config = {
},
{
// This file contains static initialization blocks which are not supported until Chrome 94
test: /[\\/]node_modules[\\/]monaco-editor[\\/]esm[\\/]vs[\\/].+\.js$/,
test: /[\\/]node_modules[\\/]monaco-editor[\\/]esm[\\/]vs[\\/]language[\\/]typescript[\\/]tsMode\.js$/,
loader: "babel-loader",
options: {
rootMode: "upward",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"clsx": "^1.2.1",
"copy-to-clipboard": "^3.3.3",
"lodash": "^4.17.21",
"monaco-editor": "^0.51.0",
"monaco-editor": "^0.50.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"prism-react-renderer": "^2.3.1",
"react": "^18.2.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6895,10 +6895,10 @@ monaco-editor-webpack-plugin@^7.1.0:
dependencies:
loader-utils "^2.0.2"

monaco-editor@^0.51.0:
version "0.51.0"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.51.0.tgz#922a6103f6742b5a62fbb097276c5a6619d879db"
integrity sha512-xaGwVV1fq343cM7aOYB6lVE4Ugf0UyimdD/x5PWcWBMKENwectaEu77FAN7c5sFiyumqeJdX1RPTh1ocioyDjw==
monaco-editor@^0.50.0:
version "0.50.0"
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.50.0.tgz#44e62b124c8aed224e1d310bbbe6ffd6d5122413"
integrity sha512-8CclLCmrRRh+sul7C08BmPBP3P8wVWfBHomsTcndxg5NRCEPfu/mc2AGU8k37ajjDVXcXFc12ORAMUkmk+lkFA==

mrmime@^1.0.0:
version "1.0.1"
Expand Down

0 comments on commit 2ff6189

Please sign in to comment.