ts-react-toolbox icon indicating copy to clipboard operation
ts-react-toolbox copied to clipboard

Allow to use custom tsconfig or custom compilerOptions

Open zzarcon opened this issue 6 years ago • 3 comments

Questions:

  • Should this options override the default one or merge it?
  • Should we use something like ts-react-toolbox.config?
  • Should it just be command args? $ yarn ts-react-toolbox build -o '{...}'?

zzarcon avatar Oct 11 '19 00:10 zzarcon

personally I have no case when I needed a project specific config.

theKashey avatar Oct 11 '19 00:10 theKashey

I had one yesterday in where I was converting some .js files into .ts, and the noImplicitAny was causing a crazy amount of errors, which I didn't want to fix hehe

zzarcon avatar Oct 11 '19 01:10 zzarcon

Why not use ./tsconfig as a source of truth, and update it as a postinstall hook (and then I could just stash changes I don't want)?

theKashey avatar Oct 11 '19 02:10 theKashey