소스 검색

Update integrate-esm.md

Alexandru Dima 7 년 전
부모
커밋
a6f35e1e52
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/integrate-esm.md

+ 2 - 2
docs/integrate-esm.md

@@ -24,7 +24,7 @@ self.MonacoEnvironment = {
         if (label === 'html') {
             return './html.worker.bundle.js';
         }
-        if (label === 'typescript') {
+        if (label === 'typescript' || label === 'javascript') {
             return './ts.worker.bundle.js';
         }
         return './editor.worker.bundle.js';
@@ -75,4 +75,4 @@ module.exports = {
     ]
 };
 
-```
+```