mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
17 lines
692 B
JavaScript
17 lines
692 B
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
const path = require('path');
|
|
const helpers = require('monaco-plugin-helpers');
|
|
|
|
const REPO_ROOT = path.join(__dirname, '../');
|
|
|
|
helpers.packageESM({
|
|
repoRoot: REPO_ROOT,
|
|
esmSource: 'out/esm',
|
|
esmDestination: 'release/esm',
|
|
entryPoints: ['monaco.contribution.js', 'tsMode.js', 'ts.worker.js'],
|
|
resolveSkip: ['monaco-editor-core']
|
|
});
|