Great webpack starter. Thanks for putting it together. Quick question for you. I see that it's using LoaderOptionsPlugin. I'm still a bit new to Webpack so there could be a good reason for it but I was wondering why we are going that route rather than just putting the config options in the loader declarations themselves. For example, for tslint-loader, doing this:
Great webpack starter. Thanks for putting it together. Quick question for you. I see that it's using
LoaderOptionsPlugin
. I'm still a bit new to Webpack so there could be a good reason for it but I was wondering why we are going that route rather than just putting the config options in the loader declarations themselves. For example, fortslint-loader
, doing this:Seems to work just as well as using the plugin:
Again, this could very well be based on my not understanding something correctly, so I'm more just asking for the sake of learning.