Skip to content

Include file extension for transformed workspace packages #188

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

Closed
janpe opened this issue May 14, 2024 · 1 comment
Closed

Include file extension for transformed workspace packages #188

janpe opened this issue May 14, 2024 · 1 comment

Comments

@janpe
Copy link

janpe commented May 14, 2024

Hi! I'm having an issue that is similar to #89.

I have a package in my repo that is not published, let's call it @myorg/mypkg and in my tsconfig I have a path for it like this:

"paths": {
      "@myorg/mypkg": ["./packages/mypkg/src/index.js"],
}

When I transform the paths with this configuration I end up without both the index filename and the .js extension, both of which I'd need preserved.

The end result in this case are paths like this:

export * from "../../mypkg/src/
@janpe
Copy link
Author

janpe commented May 14, 2024

Just stumbled upon #136 and it seems like it would resolve this problem

@janpe janpe closed this as completed May 14, 2024
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