diff --git a/test/smoke/webpack/index.js b/test/smoke/webpack/index.js index f4e62ee8..edcd18b6 100644 --- a/test/smoke/webpack/index.js +++ b/test/smoke/webpack/index.js @@ -1,4 +1,4 @@ -import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; +import * as monaco from 'monaco-editor'; // expose the monaco API as a global for tests window.monacoAPI = monaco; diff --git a/webpack-plugin/README.md b/webpack-plugin/README.md index e97f5c9e..1301252e 100644 --- a/webpack-plugin/README.md +++ b/webpack-plugin/README.md @@ -51,8 +51,6 @@ If using Webpack 4 or lower, it is necessary to use the file-loader instead of A ```js 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")',