Skip to content

Commit

Permalink
Merge pull request #172 from Andarist/fix/types-condition
Browse files Browse the repository at this point in the history
fix: move `types` condition to the front
  • Loading branch information
ndelangen authored May 1, 2023
2 parents 2495c3a + 4c125c0 commit fc756e3
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 <[email protected]> (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 fc756e3

Please sign in to comment.