Skip to content

Commit

Permalink
fix: move types condition to the front
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Apr 29, 2023
1 parent 2495c3a commit 4c125c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"author": "Xiaoyi Chen <cxychina@gmail.com> (http://github.com/xyc)",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"import": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
Expand Down Expand Up @@ -65,6 +65,7 @@
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-do-expressions": "^7.10.4",
"@babel/plugin-proposal-logical-assignment-operators": "^7.11.0",

"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
Expand Down

0 comments on commit 4c125c0

Please sign in to comment.