Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

fix(validation): Error on legacy module loaders config #36

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

markdalgleish
Copy link
Member

@markdalgleish markdalgleish commented Dec 4, 2017

We just ran into this issue where webpack lets you get away with the old "module.loaders" format in your config, but this is incompatible with the decorators which assume you're using the modern "module.rules" format.

Rather than try to support the old format, I figured it makes more sense to just add this as another validation rule and force consumers to upgrade their config—especially since it'll take about 3 seconds to fix.

@markdalgleish markdalgleish merged commit cbf2232 into master Dec 4, 2017
@markdalgleish markdalgleish deleted the error-on-legacy-module-loaders-config branch December 4, 2017 23:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants