Closed maoosi closed 7 months ago
After installing version 4.2.1 with pnpm, it seems the dist/ folder is missing. This makes all the entry points specified in the package.json file invalid:
4.2.1
pnpm
dist/
package.json
{ "main": "dist/index.js", "module": "dist/index.mjs", "exports": { "import": "./dist/index.mjs", "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }
The issue can be temporarily circumvented by rolling back to version 4.2.0, which does include the dist folder.
4.2.0
dist
The dist folder exists, according to Unpkg: https://unpkg.com/browse/vite-tsconfig-paths@4.2.1/
Try using pnpm install --force
pnpm install --force
Issue:
After installing version
4.2.1
withpnpm
, it seems thedist/
folder is missing. This makes all the entry points specified in thepackage.json
file invalid:Workaround:
The issue can be temporarily circumvented by rolling back to version
4.2.0
, which does include thedist
folder.