liubin_PC@DESKTOP-9UIIDU6 MINGW32 /e/webpack/webpack-test$ webpackNo configuration file found and no output filename configured via CLI option.A configuration file could be named 'webpack.config.js' in the current directory.Use --help to display the CLI options.
1 回答
已采纳
滄浪之水
TA贡献15条经验 获得超2个赞
webpack 运行会去查找webpack.config.js 文件,如果没有找到会报错
如果不想用webpack.config.js,可以用--config指定特定的文件
$ webpack --config YOURJSFILE.js
- 1 回答
- 0 关注
- 2005 浏览
添加回答
举报
0/150
提交
取消