Update integrate-esm.md

This commit is contained in:
Alexandru Dima 2018-04-19 12:23:29 +02:00 committed by GitHub
parent 5011586b50
commit 5c2a695a7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/
)
]
};