Skip to content

Commit

Permalink
Fix monaco editor freeze (Azure#1546)
Browse files Browse the repository at this point in the history
Docusaurus facebook/docusaurus#9303 doesn't
like some css nesting that monaco editor started using in 0.47.0

For now same as typespec repo we pin to old version of the editor.

Seems like however we might be able to build with
`USE_SIMPLE_CSS_MINIFIER=true`
  • Loading branch information
timotheeguerin committed Sep 16, 2024
1 parent b7f9509 commit fdaf165
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"clsx": "^2.1.1",
"es-module-shims": "~1.10.0",
"prism-react-renderer": "^2.4.0",
"monaco-editor": "~0.46.0",
"prismjs": "~1.29.0",
"react": "~18.3.1",
"react-dom": "~18.3.1"
Expand Down
15 changes: 9 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fdaf165

Please sign in to comment.