Avoid loading the entire language service on the main thread code

This commit is contained in:
Alex Dima 2021-11-08 23:46:03 +01:00
parent 9eba6e70b8
commit a6ebcecf27
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
6 changed files with 241 additions and 249 deletions

View file

@ -939,7 +939,10 @@ const generateTestSamplesTask = function () {
'</body>',
'</html>'
];
fs.writeFileSync(path.join(__dirname, 'monaco-editor/test/playground.generated/index.html'), index.join('\n'));
fs.writeFileSync(
path.join(__dirname, 'monaco-editor/test/playground.generated/index.html'),
index.join('\n')
);
};
function createSimpleServer(rootDir, port) {