Answer the question
In order to leave comments, you need to log in
Webpack Invalid configuration object?
Good day to all! When I try to run webpack I get the following error:
[webpack-cli] Invalid configuration object. Webpack has been initialized using a
configuration object that does not match the API schema.
- configuration.module.rules[1] has an unknown property 'query'. These properti
es are valid:
object { compiler?, dependency?, descriptionData?, enforce?, exclude?, genera
tor?, include?, issuer?, loader?, mimetype?, oneOf?, options?, parser?, realReso
urce?, resolve?, resource?, resourceFragment?, resourceQuery?, rules?, sideEffec
ts?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question