From 733d68af03c4c46c13dd0b382569a121ec8036b9 Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Thu, 24 Dec 2020 13:59:29 +0100 Subject: [PATCH] Fix documentation (#2212) --- docs/integrate-esm.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/integrate-esm.md b/docs/integrate-esm.md index 61e29b54..825761fc 100644 --- a/docs/integrate-esm.md +++ b/docs/integrate-esm.md @@ -75,10 +75,10 @@ self.MonacoEnvironment = { if (label === 'json') { return './json.worker.bundle.js'; } - if (label === 'css') { + if (label === 'css' || label === 'scss' || label === 'less') { return './css.worker.bundle.js'; } - if (label === 'html') { + if (label === 'html' || label === 'handlebars' || label === 'razor') { return './html.worker.bundle.js'; } if (label === 'typescript' || label === 'javascript') { @@ -146,10 +146,10 @@ self.MonacoEnvironment = { if (label === 'json') { return './json.worker.js'; } - if (label === 'css') { + if (label === 'css' || label === 'scss' || label === 'less') { return './css.worker.js'; } - if (label === 'html') { + if (label === 'html' || label === 'handlebars' || label === 'razor') { return './html.worker.js'; } if (label === 'typescript' || label === 'javascript') {