ITADN

fix types resolution

#50Pull Requestliteralpie 创建于 2024-03-23已合并
L
literalpiecommented
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 条评论