solidjs / solid-start

SolidStart, the Solid app framework
https://start.solidjs.com
MIT License
5.07k stars 377 forks source link

[Bug?]: resolve type fail on `moduleResolution: "Bundler"` #1505

Closed Gehbt closed 3 months ago

Gehbt commented 4 months ago

Duplicates

Latest version

Current behavior 😯

No response

Expected behavior 🤔

Since #1476 set moduleResolution: "Bundler", package.json don't export env.d.ts in exports.

image

In addition, in defineConfig at @solidjs/start/config, option vite has same problem.

image

Steps to reproduce 🕹

No response

Context 🔦

No response

Your environment 🌎

No response

ryansolid commented 4 months ago

@GiyoMoon Seems to be related to the PR around moduleResolution

Brendonovich commented 3 months ago

Looks like #1506 has fixed the env part of this issue, the vite problem should be fixed by this Vinxi PR