monaco-editor/test/smoke/package-vite.ts
Alexandru Dima 5d653b2569
Smoketest improvements: (#3369)
- Add a smoketest for packaging with vite
- Re-enable the smoketest for packaging with esbuild
- Re-enable the smoketest on webkit
2022-10-18 10:26:38 +02:00

19 lines
584 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as vite from 'vite';
import * as path from 'path';
async function main() {
await vite.build({
root: path.resolve(__dirname, './vite/'),
base: '/test/smoke/vite/dist/',
build: {
minify: false
}
});
}
main();