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
src/file1.ts
export interface MyProps {}
src/file2.ts
export { MyProps } from './file1' export default {}
编译后src/file2.ts中的 MyProps 未被移除
MyProps
看了下代码,现在构建使用的是babel的@babel/preset-typescript; 目前这个是不会支持多文件上下文编译的,是不是考虑用tsc或ts-loader来替换?这2个应该是没这个问题的
@babel/preset-typescript
The text was updated successfully, but these errors were encountered:
No branches or pull requests
现在通过build-plugin-component 编译ts文件时,跨文件的ts type或interface未被移除;比如:
src/file1.ts
src/file2.ts
编译后
src/file2.ts
中的MyProps
未被移除看了下代码,现在构建使用的是babel的
@babel/preset-typescript
; 目前这个是不会支持多文件上下文编译的,是不是考虑用tsc或ts-loader来替换?这2个应该是没这个问题的The text was updated successfully, but these errors were encountered: