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
770b47221c
commit
db021c78d6
10 changed files with 116 additions and 8574 deletions
|
|
@ -10,7 +10,7 @@ const REPO_ROOT = path.join(__dirname, '../');
|
|||
|
||||
helpers.packageESM({
|
||||
repoRoot: REPO_ROOT,
|
||||
esmSource: 'out',
|
||||
esmSource: 'out/esm',
|
||||
esmDestination: 'release/esm',
|
||||
entryPoints: [
|
||||
'monaco.contribution.js',
|
||||
|
|
@ -18,7 +18,7 @@ helpers.packageESM({
|
|||
'css.worker.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