mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Always compile to esm
This commit is contained in:
parent
e2b014d8d7
commit
9be21f963e
5 changed files with 4 additions and 13 deletions
|
|
@ -6,7 +6,7 @@ var path = require("path");
|
|||
var REPO_ROOT = path.join(__dirname, '../');
|
||||
process({
|
||||
repoRoot: REPO_ROOT,
|
||||
esmSource: 'out-esm',
|
||||
esmSource: 'out',
|
||||
esmDestination: 'release/esm',
|
||||
entryPoints: [
|
||||
'monaco.contribution.js',
|
||||
|
|
@ -14,7 +14,7 @@ process({
|
|||
'json.worker.js'
|
||||
],
|
||||
resolveAlias: {
|
||||
'vscode-nls': path.join(REPO_ROOT, "out-esm/fillers/vscode-nls.js")
|
||||
'vscode-nls': path.join(REPO_ROOT, "out/fillers/vscode-nls.js")
|
||||
},
|
||||
resolveSkip: [
|
||||
'monaco-editor-core'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue