瀏覽代碼

Add module field to package.json

Alex Dima 7 年之前
父節點
當前提交
af8569258d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -11,6 +11,7 @@
     "website": "gulp website"
     "website": "gulp website"
   },
   },
   "typings": "./monaco.d.ts",
   "typings": "./monaco.d.ts",
+  "module": "./esm/vs/editor/editor.main.js",
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",
     "url": "https://github.com/Microsoft/monaco-editor"
     "url": "https://github.com/Microsoft/monaco-editor"