Skip to content

Commit

Permalink
fix: Error: Package subpath './dist/wallet-pay' is not defined by "ex…
Browse files Browse the repository at this point in the history
…ports"
  • Loading branch information
mdwitr0 committed Sep 18, 2023
1 parent a640c65 commit 410bda9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ coverage
dist
node_modules
vite.config.ts
dts.bundle-generator.config.ts
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"name": "Evgenii Fedoriachenko",
"url": "https://github.com/mdwitr0"
},
"main": "./dist/vite-vanilla-ts-lib-starter.cjs",
"module": "./dist/vite-vanilla-ts-lib-starter.mjs",
"main": "./dist/wallet-pay.cjs",
"module": "./dist/wallet-pay.mjs",
"exports": {
".": {
"require": "./dist/vite-vanilla-ts-lib-starter.cjs",
"import": "./dist/vite-vanilla-ts-lib-starter.mjs"
"require": "./dist/wallet-pay.cjs",
"import": "./dist/wallet-pay.mjs"
}
},
"types": "./dist/vite-vanilla-ts-lib-starter.d.ts",
"types": "./dist/wallet-pay.d.ts",
"scripts": {
"dev": "vite --host",
"build": "rimraf dist && tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
Expand Down

0 comments on commit 410bda9

Please sign in to comment.