mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Update integrate-esm.md
This commit is contained in:
parent
5011586b50
commit
5c2a695a7a
1 changed files with 2 additions and 1 deletions
|
|
@ -104,6 +104,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')
|
||||
},
|
||||
|
|
@ -117,7 +118,7 @@ module.exports = {
|
|||
// Ignore require() calls in vs/language/typescript/lib/typescriptServices.js
|
||||
new webpack.IgnorePlugin(
|
||||
/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/,
|
||||
/vs\/language\/typescript\/lib/
|
||||
/vs(\/|\\)language(\/|\\)typescript(\/|\\)lib/
|
||||
)
|
||||
]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue