Webpack.2.0 build error when passing CLI arguments -


i have build script in package.json as

"clean-build": "rimraf build", "prebuild": "npm run clean-build", "build": "webpack --end.dev", 

however i'm getting error on build task.

> 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 config file: webpack 

here entire code

do know missing in build task?

thanks

you have --end.dev change --env.dev


Comments