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

feat: tsconfig paths support #48

Open
2 tasks
mjgerace opened this issue Dec 6, 2023 · 3 comments
Open
2 tasks

feat: tsconfig paths support #48

mjgerace opened this issue Dec 6, 2023 · 3 comments
Labels
enhancement New feature or request pr welcome

Comments

@mjgerace
Copy link

mjgerace commented Dec 6, 2023

Feature request

I understand that pkgroll is based off of package.json config - however, it would be really nice to have a build system that operates exactly like tsx. I use tsx for dev, since the watch/file execution is the fastest i've found by far. However, this means that I must use something like tsup, or ts-node for actual production building.

This is a concern for me, as tsx auto-configures, but these other libraries do not. I want as few deviations as possible between my dev environment with tsx and the production build for obvious reasons - I want a similar output format, build process, etc to reduce the chance of production-build-only bugs.

One major way to close this gap is to support tsconfig paths. Today, wildcard matching paths isn't possible with package.json.

Motivations

Closing the gap between my dev and full build process.

Alternatives

No response

Additional context

No response

Contributions

  • I plan to open a pull request for this issue
  • I plan to make a financial contribution to this project
@mjgerace mjgerace added the enhancement New feature or request label Dec 6, 2023
@privatenumber
Copy link
Owner

Yeah I agree, alias support via tsconfig.json would be great! pkgroll is about zero-config by leveraging existing configurations.

PR welcome

@samal-rasmussen

This comment was marked as off-topic.

@olee

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr welcome
Projects
None yet
Development

No branches or pull requests

4 participants