-
Notifications
You must be signed in to change notification settings - Fork 11
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
duplicate ext .json.json
#20
Comments
This might be a new error introduced recently. Will debug in a bit. Thanks for bringing it up. |
In the mean time, what happens if you just set "tsconfig"? |
So far I'm unable to replicate this issue. Could you provide anymore info? A dummy repo to test on? What happens with you more your |
If set
|
And my src/tsconfig.json.
It extends root tsconfig.
|
I try to run with root dir tsconfig |
Okay thanks. I'll debug around having it in another directory. |
I'm having this issue as well. I'm trying to use this repo to convert my baseurl absolute paths to relative paths in compiled javascript. My full structure using npm workspaces:
This last file is what I use to compile the packages. It uses the paths from
|
@dborstelmann Want to clear something up here. Currently this package not support the Sample package.json script
A recap of this package: Here we have an example for CommonJs, but ignore that because it can be anything. Running I just wanted to clear that up for any who may read this. Onto the issue, thank you for the example. I'll try to replicate now. |
Good news. Finally able to replicate! |
Alright. I found the bug, fixed the bug, then added in an extra safe guard against the double extension. Install |
@jonkwheeler Thanks for the quick fix. Are you saying that this only replaces paths in |
I misspoke. It'll fix paths in all your js files. It won't compile those js files though. They need to first be compiled using your compiler of choice, and then run this package to open each of those files, change the paths, and save those files. |
Yup for sure, I wound up getting |
Hi guy, I run this
tsconfig-replace-paths --project src/tsconfig.json
, but got an error.Why it read
tsconfig.json.json
instead oftsconfig.json
.The text was updated successfully, but these errors were encountered: