ソースを参照

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