当我想把几个js文件进行打包时,出现了如下异常:
No configuration file found and no entry configured via CLI option.
When using the CLI you need to provide at least two arguments: entry and output.
A configuration file could be named 'webpack.config.js' in the current directory.
Use --help to display the CLI options.
Solution:
- 在打包的两个路径之间敲一个空格