Failed to load 'xxx\webpack.config.js' config
我的原因是因为之前没有跟随老师把main.js更改为bundle.js,build学习阶段发现需要使用。
解决方法:在配置文件顶部导入代码:
const path = require("path");
Failed to load 'xxx\webpack.config.js' config
我的原因是因为之前没有跟随老师把main.js更改为bundle.js,build学习阶段发现需要使用。
解决方法:在配置文件顶部导入代码:
const path = require("path");