Parcourir la source

Update integrate-esm.md

Alexandru Dima il y a 7 ans
Parent
commit
a6f35e1e52
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 = {
     ]
 };
 
-```
+```