Skip to content

Commit

Permalink
fix: expose types for bundler module resolution (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored May 9, 2023
1 parent f8b0d26 commit 82e2577
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,37 +29,48 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"types": "./dist/vite.d.ts",
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"types": "./dist/webpack.d.ts",
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./rollup": {
"types": "./dist/rollup.d.ts",
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./esbuild": {
"types": "./dist/esbuild.d.ts",
"require": "./dist/esbuild.js",
"import": "./dist/esbuild.mjs"
},
"./options": {
"types": "./dist/options.d.ts",
"require": "./dist/options.js",
"import": "./dist/options.mjs"
},
"./runtime": {
"types": "./dist/runtime.d.ts",
"require": "./dist/runtime.js",
"import": "./dist/runtime.mjs"
},
"./types": {
"types": "./dist/types.d.ts",
"require": "./dist/types.js",
"import": "./dist/types.mjs"
},
"./client": {
"types": "./client.d.ts"
},
"./*": "./*"
},
"files": [
Expand Down

0 comments on commit 82e2577

Please sign in to comment.