-
Notifications
You must be signed in to change notification settings - Fork 94
Pass typescript options via query string #141
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
Conversation
I tested it locally and it works as expected |
44ab877
to
f4c3c97
Compare
Good point. And as always thanks for the PR :) But |
I missunderstood the plugin, this is better now |
Ok, now I am confused ^^ |
yes, because normally you would either add the plugin or not, the option just handles inclusion |
Hmm, I like the proposed change in general, but I don't like having an additional custom option for utility purposes only. Maybe What do you say? |
the loader needs the compiler and tsconfig too |
i never used this feature (and i guess noone else too), so this never surfaced |
But what is the Just recognized you were the autor of the block, so in case of doubt I tend to trust what you say 😉 |
Im not completely sure either, the docs dont say why |
Maybe it's worth opening an issue at the awesome-typescript-loader's repo? |
yes i can do that. |
There is already one, but it seems I use it right now |
How about dropping the (Especially since The rest looks fine to me :) |
I finally understood what the plugin is for. We can have it active all the time. It only affects people configuring it in the tsconfig.json. Thats why it needs the path. I will remove the check |
Should I remove the unit test? It's actually quite pointless |
Nice! Yes, I think it's safe to remove the unit tests. End-to-end tests are way more reliable for testing blocks. Poking #91... But adding a comment explaining why we need the |
Can we merge this? |
Of course 👌 |
Published as |
This allows you to pass options not only via tsconfig.json but also via webpack.config.js
I would need this for cyclejs-community/create-cycle-app#103