You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #101 Forked typescript type checking (davidmpaz)
This PR was squashed before being merged into the master branch (closes#101).
Discussion
----------
Forked typescript type checking
This PR fixes: #63 it should be possible to merge also with #99 directly.
Open points:
Regarding point .1 in #2
> If this plugin is added. we need to check dependency is added using loader-features.js. This module name is getting name from loaders, we are not adding a loader here but a plugin. Maybe some more general module is needed for checking features?
After implementing this I realize that as soon as you require a module which doesn't exist node throws an error, we don't even go through error catch from encore. So possible solutions I see for this pending point are:
1. We don't refactor `loader-features.js` file and we still will get a loud error when trying to use some plugin not installed. From error is clear whats need to be done.
2. We refactor `loader-features.js` to be named more general and we include plugins dependencies also there as intended initially. But this way we need to check for missing packages earlier in `WebpackConfig.js` like I am doing now in this PR.
I like either solutions the same, I would like to get feedback on what do you guys think about it?
thanks in advance.
Commits
-------
7a7e399 Forked typescript type checking
0 commit comments