Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Compiler options passed in query string are ignored #107

Closed
YuliaTsareva opened this issue Mar 20, 2016 · 2 comments
Closed

Compiler options passed in query string are ignored #107

YuliaTsareva opened this issue Mar 20, 2016 · 2 comments

Comments

@YuliaTsareva
Copy link

I would like to override one of the compiler options specified in tsconfig.json. I prefer to pass it in query string rather than add loader config in tsconfig.json.

But it seems that awesome-typescript-loader prefer the options from tsconfig.json. I did a little investigation and found that line of code:
_.extend(options, configFile.compilerOptions);

Would you consider to change this behaviour? It seems more reasonable to replace the standard options by the options specified specially for the loader.

@s-panferov
Copy link
Owner

@YuliaTsareva thanks for your report. Yes, this seems reasonable.

Landed as v0.17.0-rc.0

@YuliaTsareva
Copy link
Author

Thank you for such a quick fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants