This commit is contained in:
Alex Dima 2021-12-20 15:41:33 +01:00
parent 3ad48dbde4
commit a8878c8cfe
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
8 changed files with 118 additions and 79 deletions

View file

@ -1,8 +1,15 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
//@ts-check
const esbuild = require('esbuild');
const path = require('path');
const { removeDir } = require('../../build/utils');
const { removeDir } = require('../../build/fs');
removeDir(path.join(__dirname, 'dist'));
removeDir('samples/browser-esm-esbuild/dist', (entry) => /index.html$/.test(entry));
const workerEntryPoints = [
'vs/language/json/json.worker.js',