mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Bundle AMD using requirejs
This commit is contained in:
parent
f0f1142183
commit
95ad374e88
10 changed files with 124 additions and 8468 deletions
|
|
@ -10,17 +10,17 @@ const REPO_ROOT = path.join(__dirname, '../');
|
|||
|
||||
helpers.packageESM({
|
||||
repoRoot: REPO_ROOT,
|
||||
esmSource: 'out',
|
||||
esmSource: 'out/esm',
|
||||
esmDestination: 'release/esm',
|
||||
entryPoints: [
|
||||
'monaco.contribution.js',
|
||||
'htmlMode.js',
|
||||
'html.worker.js',
|
||||
'../node_modules/vscode-html-languageservice/lib/esm/beautify/beautify-css.js',
|
||||
'../node_modules/vscode-html-languageservice/lib/esm/beautify/beautify.js',
|
||||
'../../node_modules/vscode-html-languageservice/lib/esm/beautify/beautify-css.js',
|
||||
'../../node_modules/vscode-html-languageservice/lib/esm/beautify/beautify.js',
|
||||
],
|
||||
resolveAlias: {
|
||||
'vscode-nls': path.join(REPO_ROOT, "out/fillers/vscode-nls.js")
|
||||
'vscode-nls': path.join(REPO_ROOT, "out/esm/fillers/vscode-nls.js")
|
||||
},
|
||||
resolveSkip: [
|
||||
'monaco-editor-core'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue