mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Split up the editor's worker and the editor worker helper scripts, remove AMD support
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = {
|
||||
mode: 'production',
|
||||
entry: {
|
||||
'core': './core.js',
|
||||
'editor.worker': '../../out-monaco-editor-core/esm/vs/editor/editor.worker.js',
|
||||
'editorSimpleWorkerMain': '../../out-monaco-editor-core/esm/vs/editor/common/services/editorSimpleWorkerMain.js',
|
||||
},
|
||||
output: {
|
||||
globalObject: 'self',
|
||||
@@ -39,7 +39,6 @@ module.exports = {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'monaco-editor-core/esm/vs/editor/editor.worker': path.resolve(__dirname, '../../out-monaco-editor-core/esm/vs/editor/editor.worker.js'),
|
||||
'monaco-editor-core': path.resolve(__dirname, '../../out-monaco-editor-core/esm/vs/editor/editor.main.js'),
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user