configuration.module has an unknown property 'loaders'

前端 未结 5 1202
生来不讨喜
生来不讨喜 2020-12-12 17:59

my output of error:

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. -

5条回答
  •  爱一瞬间的悲伤
    2020-12-12 18:32

    You should use the migration utility to migrate your webpack config files, it worked for me.

    The migration documentation is also useful.

提交回复
热议问题