Move into monaco-css folder

This commit is contained in:
Alex Dima 2021-11-05 12:07:11 +01:00
parent 153561d989
commit 03834eb1ec
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
26 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,14 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as worker from 'monaco-editor-core/esm/vs/editor/editor.worker';
import { CSSWorker } from './cssWorker';
self.onmessage = () => {
// ignore the first message
worker.initialize((ctx, createData) => {
return new CSSWorker(ctx, createData);
});
};