fix types resolution
This should make the types work correctly in a new Vite Solid project.
See a before/after of the change by viewing [this file of this repo](https://github.com/literalpie/basic-solid-with-svg/blob/main/vite.config.ts) locally.
I tested that things work with and without `"type": "module"`, and with TSConfig moduleResolution set to Node, NodeNext and Bundler.
I also added `@types/node` as a dev dependency, since the build script was failing without that.
Fixes #49
合并状态:已合并 合并于 2024-03-26 关闭于 2024-03-26 1 条评论