We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packages/editor/dist/types/src/services/editor.d.ts 等声明文件未成功生成
@@
似乎是由于vite-plugin-dts的构建的过程中遇到了无法解析的类型错误,导致生成声明文件时被跳过。 通过在 packages\editor\vite.config.ts 配置文件中添加 skipDiagnostics: false, 配置后发现的确出现了超级多的错误信息 export default defineConfig({ plugins: [ dts({ outputDir: 'dist/types', include: ['src/**/*'], staticImport: true, insertTypesEntry: true, logDiagnostics: true, skipDiagnostics: false, }), vue(), ],
export default defineConfig({ plugins: [ dts({ outputDir: 'dist/types', include: ['src/**/*'], staticImport: true, insertTypesEntry: true, logDiagnostics: true, skipDiagnostics: false, }), vue(), ],
vite-plugin-dts 错误报告
The text was updated successfully, but these errors were encountered:
@jia000
Sorry, something went wrong.
jia000
Successfully merging a pull request may close this issue.
packages/editor/dist/types/src/services/editor.d.ts 等声明文件未成功生成
@@
似乎是由于vite-plugin-dts的构建的过程中遇到了无法解析的类型错误,导致生成声明文件时被跳过。
通过在 packages\editor\vite.config.ts 配置文件中添加 skipDiagnostics: false, 配置后发现的确出现了超级多的错误信息
export default defineConfig({ plugins: [ dts({ outputDir: 'dist/types', include: ['src/**/*'], staticImport: true, insertTypesEntry: true, logDiagnostics: true, skipDiagnostics: false, }), vue(), ],
vite-plugin-dts 错误报告
The text was updated successfully, but these errors were encountered: