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
The compilerOptions#paths in tsconfig.json should work for DTS output.
compilerOptions#paths
Modern.js Module supports this, see https://github.com/web-infra-dev/modern.js/blob/main/packages/solutions/module-tools/src/utils/dts.ts#L116
{ "compilerOptions": { "paths": { "rslog": ["./compiled/rslog"] } }, "include": ["src"] }
import logger from 'rslog';
import logger from '../compiled/rslog';
This should work out of the box.
The text was updated successfully, but these errors were encountered:
Sub task of #140
Sorry, something went wrong.
bundle: false
现在 0.1.5 版本解决了值导入的别名问题,还差类型导入的别名问题没实现,加油
Timeless0911
No branches or pull requests
What problem does this feature solve?
The
compilerOptions#paths
in tsconfig.json should work for DTS output.Modern.js Module supports this, see https://github.com/web-infra-dev/modern.js/blob/main/packages/solutions/module-tools/src/utils/dts.ts#L116
What does the proposed API look like?
This should work out of the box.
The text was updated successfully, but these errors were encountered: