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
import similar module will cause wrong output path
This is example repository.
npm run build:ttsc npm run start
npm run build:ttsc
npm run start
tsconfig:
{ "compilerOptions": { "paths": { "app/*": ["src/app/*"], "app": ["src/app/index"] }, } }
code:
import app from 'app'; import appRootPath from 'app-root-path'; import application from 'application'; console.log('app', app); console.log('appRootPath', appRootPath); console.log('application', application);
After compiler, appRootPath, application will import from app path.
The text was updated successfully, but these errors were encountered:
723dc77
fix works for you?
Sorry, something went wrong.
No branches or pull requests
import similar module will cause wrong output path
This is example repository.
npm run build:ttsc
npm run start
tsconfig:
code:
After compiler, appRootPath, application will import from app path.
The text was updated successfully, but these errors were encountered: