This commit is contained in:
Alex Dima 2018-08-10 17:55:38 +02:00
parent e808dc34a6
commit ac8cbe3edb
2 changed files with 47 additions and 11 deletions

View file

@ -91,7 +91,6 @@ monaco.editor.create(document.getElementById('container'), {
* `webpack.config.js`:
```js
const path = require('path');
const webpack = require('webpack');
module.exports = {
entry: {
@ -113,13 +112,6 @@ module.exports = {
test: /\.css$/,
use: ['style-loader', 'css-loader']
}]
},
plugins: [
// Ignore require() calls in vs/language/typescript/lib/typescriptServices.js
new webpack.IgnorePlugin(
/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/,
/vs(\/|\\)language(\/|\\)typescript(\/|\\)lib/
)
]
}
};
```