Browse Source

chore: remove monaco-editor cdn link from html.js

走鹃 3 years ago
parent
commit
8b5b0a968f
2 changed files with 1 additions and 3 deletions
  1. 1 1
      package.json
  2. 0 2
      src/html.js

+ 1 - 1
package.json

@@ -39,7 +39,7 @@
     "@douyinfe/semi-site-banner": "0.0.1",
     "@douyinfe/semi-site-doc-style": "0.0.1",
     "@douyinfe/semi-site-header": "0.0.3",
-    "@douyinfe/semi-site-markdown-blocks": "0.0.2",
+    "@douyinfe/semi-site-markdown-blocks": "0.0.1",
     "@mdx-js/react": "^1.6.22",
     "@svgr/core": "^5.5.0",
     "aos": "^2.3.4",

+ 0 - 2
src/html.js

@@ -166,8 +166,6 @@ export default function HTML(props) {
                 <div key={'body'} id="___gatsby" dangerouslySetInnerHTML={{ __html: props.body }} />
                 {props.postBodyComponents}
             </body>
-            <script src="https://unpkg.com/[email protected]/min/vs/loader.js"/>
-            <script src="https://unpkg.com/[email protected]/min/vs/editor/editor.main.js"/>
         </html>
     );
 }