Webpack打包css报错

Webpack打包css报错,求大神指点!

报错内容:
× 「wds」: Invalid configuration object. Webpack has been initialised using a configuration object that does not match
the API schema.

  • configuration.module.rules[0] has an unknown property ‘text’. These properties are valid:
    object { compiler?, enforce?, exclude?, include?, issuer?, loader?, loaders?, oneOf?, options?, parser?, query?, realResource?, resolve?, resource?, resourceQuery?, rules?, sideEffects?, test?, type?, use? }
    -> A rule
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] dev: webpack-dev-server --open --host 127.0.0.1 --port 8888
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] dev script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user1\AppData\Roaming\npm-cache_logs\2020-06-15T01_44_21_056Z-debug.log
Webpack打包css报错
我是个小白,以上内容都是跟着视频学习打出来的,百度了很久都没有找到答案,求大神指点!!!!!!!!!!!!!!!
Webpack打包css报错