-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.js
21 lines (19 loc) · 799 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export * from "monaco-editor/esm/vs/editor/editor.api.js";
// import * as monaco from "monaco-editor/esm/vs/editor/editor.main.js";
// self.MonacoEnvironment = {
// getWorkerUrl: function (moduleId, label) {
// if (label === "json") {
// return "./monaco/vs/language/json/json.worker.js";
// }
// if (label === "css" || label === "scss" || label === "less") {
// return "./monaco/vs/language/css/css.worker.js";
// }
// if (label === "html" || label === "handlebars" || label === "razor") {
// return "./monaco/vs/language/html/html.worker.js";
// }
// if (label === "typescript" || label === "javascript") {
// return "./monaco/vs/language/typescript/ts.worker.js";
// }
// return "./monaco/vs/editor/editor.worker.js";
// },
// };