我在 package.json 中构建脚本为
"clean-build": "rimraf build",
"prebuild": "npm run clean-build",
"build": "webpack --end.dev",
但是我在构建任务时遇到错误。
> webpack --end.dev
webpack 2.1.0-beta.21
Usage: https://webpack.github.io/docs/cli.html
Usage without config file: webpack <entry> [<entry>] <output>
Usage with config file: webpack
这是整个代码
你知道我在构建任务中缺少什么吗?
谢谢