mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Don't load editor api from global API but use require directly.
This commit is contained in:
parent
a35721026f
commit
9eb7c18143
4 changed files with 10 additions and 14 deletions
|
|
@ -181,9 +181,10 @@ function buildOneAMD(type, options) {
|
|||
plugins: [
|
||||
alias({
|
||||
'vscode-nls': path.join(__dirname, '../build/fillers/vscode-nls.ts'),
|
||||
'monaco-editor-core': path.join(__dirname, '../build/fillers/monaco-editor-core-amd.ts')
|
||||
'monaco-editor-core': path.join(__dirname, '../src/fillers/monaco-editor-core-amd.ts')
|
||||
})
|
||||
]
|
||||
],
|
||||
external: ['vs/editor/editor.api']
|
||||
};
|
||||
if (type === 'min') {
|
||||
opts.minify = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue