-
Notifications
You must be signed in to change notification settings - Fork 74
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
Turning off automatic loading of tsconfig.json #142
Comments
I also have this problem. I think the recent changes (like 0.15.2 or 0.15.5) about tsconfig.json are very breaking and should be released under major version... |
Our project have many of bundles with different configs for typescript. It will be great if there are exist option to put any file as config, like this http://stackoverflow.com/a/34826930/964711 |
@hakatashi I have reverted the changes in 0.15.5 and re-released under a major version bump. @iKBAHT You can point to a different @LPGhatguy I appreciate the thoughtful writeup. It hadn't occurred to me that more closely supporting the features of the official TypeScript compiler would be a breaking change. My thoughts in this post that apply here also: #143 (comment) As far as I know, there is no way of preventing The one dissenting thought I have is that when using What about your editor means you need a broken tsconfig? (I'll also note that using |
My I think that this decision should be okay for compilation targeted at the CLI, but for people using Browserify and That being said, even just a flag to turn off automatic loading of |
Re: globs, it might be worth keeping an eye on microsoft/TypeScript#5980. Incidentally, because tsify is now using TypeStrong/tsconfig for Interesting consideration about the CLI vs. API. With Browserify, you don't get any distinction between the two as a plugin/transform author, so behaving differently depending on the context just isn't possible.
To be clear, are you referring to this API? Or something else? |
That API is the compiler API that I was thinking of. Support Additionally, we use our build for a little bit of crazier stuff. In the typical application, we have three code locations:
This is a pretty darn specific use case, yeah, but just having a flag to turn off automatic consumption of |
While specific, @LPGhatguy, your use case exactly matches mine. It's early in my project, so it makes a lot of sense to have client and server in the same repository. |
Thanks for the feedback and input on this! Has there been any decision making involving this sort of use of the project, @smrq, like a flag? I can understand preserving the decision that's friendly to CLI users, but it almost certainly means that users with more complicated workflows will need to find another solution for TypeScript and Browserify. |
With the release of TypeScript 2.0 Beta (and tsify 1.0), I'm worried about diverging featuresets with this project. Is there any possibility of a flag to turn off automatic |
Hi there!
My team is using tsify with Gulp to build a whole bunch of TypeScript files. We have a
tsconfig.json
file in our root to satisfy our editors, but we don't use it in our build system.Up until
[email protected]
, that was okay, but with this update it seems like the plugin is now loading files from the tsconfig and our build system, which is bad. We've reverted to0.14.8
as a result.Is there an option to turn off consumption of
tsconfig.json
?For reference, our
tsconfig.json
file looks like this:The text was updated successfully, but these errors were encountered: