J
J
JastaFly2020-12-10 14:22:52
webpack
JastaFly, 2020-12-10 14:22:52

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.

Tell me what could be wrong??!? Thanks in advance)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question