diff --git a/package.json b/package.json index 0e540f88..45166d45 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,16 @@ "build-lsp": "cd monaco-lsp-client && npm install && npm run build" }, "typings": "./esm/vs/editor/editor.api.d.ts", + "main": "./min/vs/editor/editor.main.js", "module": "./esm/vs/editor/editor.main.js", + "exports": { + ".": { + "types": "./esm/vs/editor/editor.api.d.ts", + "import": "./esm/vs/editor/editor.main.js", + "require": "./min/vs/editor/editor.main.js" + }, + "./*": "./*" + }, "repository": { "type": "git", "url": "https://github.com/microsoft/monaco-editor"