1
0

package-vite.ts 584 B

12345678910111213141516171819
  1. /*---------------------------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Licensed under the MIT License. See License.txt in the project root for license information.
  4. *--------------------------------------------------------------------------------------------*/
  5. import * as vite from 'vite';
  6. import * as path from 'path';
  7. async function main() {
  8. await vite.build({
  9. root: path.resolve(__dirname, './vite/'),
  10. base: '/test/smoke/vite/dist/',
  11. build: {
  12. minify: false
  13. }
  14. });
  15. }
  16. main();