mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Docs
This commit is contained in:
parent
e808dc34a6
commit
ac8cbe3edb
2 changed files with 47 additions and 11 deletions
|
|
@ -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/
|
||||
)
|
||||
]
|
||||
}
|
||||
};
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue