Open zhangyangeng opened 8 months ago
因为 tsconfig.json
中 files
指定为空数组,所以它不包含任何文件。
因为
tsconfig.json
中files
指定为空数组,所以它不包含任何文件。
您好,files
字段不是用来指定需要编译的文件范围吗?这个问题更像是读取tsconfig的配置时没有找到真正想要加载的tsconfig文件呢
Have any updates or recomendations? Plugin still do not work with out of box tsconfig's that created from npm create vue@latest
@FanilZarip You can refer to https://github.com/qmhc/vite-plugin-dts/issues/323 as a workaround.
Describe the bug
开发者,您好。 当我在使用最新版本的create-vue生成项目时 vuejs/tsconfig 的版本为 v0.4.0,而 0.3.0版本之后的 tsconfig 文件被分成了
tsconfig.json
/tsconfig.app.json
/tsconfig.node.json
,这是tsconfig.json
和tsconfig.app.json
的默认设置:当我使用默认配置并引用该插件之后插件并没有生效,同时我在插件的源码中打印之后看到读取的是
tsconfig.json
的配置而不是tsconfig.app.json
:想问下这应该是插件的兼容问题还是create-vue的问题呀? 现在手动配置tsconfig路径是可以正常使用的,如下:
Reproduction
无
Steps to reproduce
No response
System Info
Validations