mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Ship a metadata in the esm folder which can help the webpack plugin
This commit is contained in:
parent
e77825074d
commit
0abbb2be7d
10 changed files with 302 additions and 818 deletions
|
|
@ -19,6 +19,7 @@ const { REPO_ROOT, removeDir, readFiles, writeFiles } = require('../build/utils'
|
|||
const ts = require('typescript');
|
||||
/**@type { IMetadata } */
|
||||
const metadata = require('../metadata.js');
|
||||
const { generateMetadata } = require('./releaseMetadata');
|
||||
|
||||
removeDir(`release`);
|
||||
|
||||
|
|
@ -37,6 +38,9 @@ releaseDTS();
|
|||
// ThirdPartyNotices.txt
|
||||
releaseThirdPartyNotices();
|
||||
|
||||
// esm/metadata.d.ts, esm/metadata.js
|
||||
generateMetadata();
|
||||
|
||||
// package.json
|
||||
(() => {
|
||||
const packageJSON = readFiles('package.json', { base: '' })[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue