Commit 54719f12 by xuzhenzhao

chore(custom): package.json main filed

parent 6d91075d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "@ydl-packages/toolkit", "name": "@ydl-packages/toolkit",
"version": "1.0.1-next.10", "version": "1.0.1-next.10",
"description": "", "description": "",
"main": "./dist/index.mjs", "main": "./dist/index.umd.js",
"scripts": { "scripts": {
"lib": "npx rollup -c", "lib": "npx rollup -c",
"test": "npx jest __tests__", "test": "npx jest __tests__",
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"exports": { "exports": {
".": { ".": {
"import": "./dist/index.mjs", "import": "./dist/index.umd.js",
"require": "./dist/index.umd.js" "require": "./dist/index.umd.js"
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment