diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..d9a608ad --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "cwd": "${workspaceFolder}/test/", + "name": "Launch Program", + "program": "${workspaceFolder}/node_modules/.bin/webpack", + "args": [ + "--config", + "webpack.config.js" + ], + } + ] +} \ No newline at end of file diff --git a/test/index.js b/test/index.js index 0021daf1..f7958c89 100644 --- a/test/index.js +++ b/test/index.js @@ -1,5 +1,5 @@ -import * as monaco from 'monaco-editor'; +import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; monaco.editor.create(document.getElementById('container'), { value: 'console.log("Hello, world")',