Skip to content
New issue

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

[@rollup/plugin-tpescript] Rollup does not use paths in rollup.config.ts #1724

Open
floratmin opened this issue May 29, 2024 · 0 comments
Open

Comments

@floratmin
Copy link

  • Rollup Plugin Name: @rollup/plugin-typescript
  • Rollup Plugin Version: 11.1.6
  • Rollup Version: 4.18.0
  • Operating System (or Browser): Ubuntu 22.04.4 LTS
  • Node Version: 22.2.0, but also not with 20.14.0
  • Link to reproduction (⚠️ read below): rollup-tsconfig

Expected Behavior

I can use tsconfig paths imports in rollup.config.ts, e.g. import {add} from '@test/package'; should work.

Actual Behavior

I have to use relative imports, e.g. import {add} from '../javascript/src/index.ts';

Additional Information

This is especially bad, because any package imported by an other package has also to use relative imports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant