Question / Possible Bug :: Plugins not working with TSC --build
See original GitHub issueHello, first off thanks for this really awesome project, I’m really looking forward to using it.
At present I’m wondering if it’s possible to use plugins when using tsc --build /path/to/tsconfig?
I’ve added some log statements to the transformers I have installed, but I’ve had no luck with them running inside of build mode. Perhaps there’s something I’m missing?
Thanks for your time.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Why are these tsconfig paths not working? - Stack Overflow
Make sure the path provided is correct. It will throw error "module and its decrations not found".
Read more >tsc should not care and fail with ts files outside of rootDir #9858
I do this so that I can set my document root to the build folder and keep my src out of the doc...
Read more >Typescript — How to solve the problem with unresolved path ...
js file containing the line with the path alias. The actual cause of the issue is that the tsc compiler does not transpiles...
Read more >TypeScript Compiling with Visual Studio Code
A problem matcher parses build output based on the specific build tool and provides integrated issue display and navigation. VS Code ships with...
Read more >Troubleshooting Node.js Deploys - Heroku Dev Center
Check the buildpack · Compare Node and npm Versions · Make sure the lockfile is up to date · Don't check in generated...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

In fact I am using TS4 for the variadic tuple support. I subscribed to the issue there and I’ll look at replacing the plugin when it’s been sorted.
No problem. Glad to hear it’s worked out!
BTW, in case you run into any issues with
@zerollup/ts-transform-paths, you might try typescript-transform-paths. I used to use the zerollup package but I encountered a lot of issues, so I ended up switching to typescript-transform-paths. There were a few issues in that as well, so I re-wrote the library to rely entirely on the TS API for resolution. AFAIK, it should be the most stable option which is also tied directly to TS behaviour.There’s an open issue for TS4, however, which needs to be addressed, so if you’re using TS4, you may want to wait for that to be fixed.