release.js 731 B

1234567891011121314151617
  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. const path = require('path');
  6. const helpers = require('monaco-plugin-helpers');
  7. const REPO_ROOT = path.join(__dirname, '../../');
  8. helpers.packageESM({
  9. repoRoot: REPO_ROOT,
  10. esmSource: 'monaco-typescript/out/esm',
  11. esmDestination: 'monaco-typescript/release/esm',
  12. entryPoints: ['monaco.contribution.js', 'tsMode.js', 'ts.worker.js'],
  13. resolveSkip: ['monaco-editor-core']
  14. });