kentcdodds / webpack-validator-DEPRECATED

Use this to save yourself some time when working on a webpack configuration.
MIT License
93 stars 8 forks source link

`module` validator #9

Closed PatrickJS closed 8 years ago

PatrickJS commented 8 years ago

loaders vs loader and when to use them

kentcdodds commented 8 years ago

:+1:

jonathanglasmeyer commented 8 years ago

@gdi2290 Are you referring to loader vs. module.loaders? It's not really clear to me how this "gotcha" could be expressed as an validation rule, apart from the existing spellchecking/whitelisting behaviour. Any thoughts?

kentcdodds commented 8 years ago

apart from the existing spellchecking/whitelisting behaviour.

I think the spellchecking behavior will probably cover what @gdi2290 was talking about. I think we can probably close this. Please re-open if you disagree @gdi2290!

PatrickJS commented 8 years ago

in webpack you can use both loader and loaders so devs would sometimes use an array for loader. Webpack 2 allows for TypeScript just as gulp does so this won't be a problem soon

kentcdodds commented 8 years ago

Ah yeah, so we need an actual validator for those before this can be closed.

jonathanglasmeyer commented 8 years ago

I'm on this.

jonathanglasmeyer commented 8 years ago

Tackled this in #47.