mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Use globalObject: 'self' (Microsoft/monaco-editor#759)
This commit is contained in:
parent
bcd0803238
commit
922865708b
7 changed files with 336 additions and 130 deletions
|
|
@ -12,6 +12,7 @@ module.exports = {
|
|||
"ts.worker": 'monaco-editor/esm/vs/language/typescript/ts.worker',
|
||||
},
|
||||
output: {
|
||||
globalObject: 'self',
|
||||
filename: '[name].bundle.js',
|
||||
path: path.resolve(__dirname, 'dist')
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue