mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Merge pull request #116 from pwinston/readme-add-require
Add require('path') to README
This commit is contained in:
commit
30b94b3806
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ npm install monaco-editor-webpack-plugin
|
||||||
* `webpack.config.js`:
|
* `webpack.config.js`:
|
||||||
```js
|
```js
|
||||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
||||||
|
const path = require('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: './index.js',
|
entry: './index.js',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue