Move css sources into /src/

This commit is contained in:
Alex Dima 2021-11-13 00:04:23 +01:00
parent 08459beac3
commit b3f2986d69
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
16 changed files with 136 additions and 224 deletions

14
src/css/css.worker.ts Normal file
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);
});
};