mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
* Uses rollup for ESM build and d.ts bundling.
Moves monaco.languages.{typescript, json, html, css} to monaco.*.
Moves monaco.editor.createWebWorker to monaco.createWebWorker.
* Adds excluded files from dist, as they needed to be patched.
7 lines
252 B
TypeScript
7 lines
252 B
TypeScript
import { run } from '../../scripts/lib/index';
|
|
|
|
export async function buildESM() {
|
|
const rootPath = __dirname;
|
|
await run('npx rollup -c rollup.config.mjs', { cwd: rootPath });
|
|
await run('npx rollup -c rollup-types.config.mjs', { cwd: rootPath });
|
|
}
|