diff --git a/README.md b/README.md index 9b0785a1..4f6b707d 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,9 @@ module.exports = { * `index.js`: ```js -import * as monaco from 'monaco-editor'; +import * as monaco from 'monaco-editor' +// or import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; +// if shipping only a subset of the features & languages is desired monaco.editor.create(document.getElementById('container'), { value: 'console.log("Hello, world")',