webpack学习笔记2-配置文件

1、配置文件

按照以下形式进行文件配置,报错“Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.”
webpack初学者-配置文件

解决方案:将loader改为rules
webpack初学者-配置文件

2、在命令行输入webpack

webpack初学者-配置文件

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2021-10-20
  • 2021-11-07
  • 2021-12-26
猜你喜欢
  • 2021-10-04
  • 2021-09-24
  • 2021-10-16
  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
相关资源
相似解决方案