Webpack 2 –output-filename not being taken into account.

I’m submitting a bug report

Webpack version:
2.1.0-beta.15

Please tell us about your environment:
OSX 10.x

Current behavior:
When providing --output-filename on the CLI, I get the following error:

Error: 'output.filename' is required, either in config file or as --output-filename

See this repo (branch). Specifically the config and these scripts.

Expected/desired behavior:
I expect no error and the proper builds (as it works with 1.x).

I’ve looked a bit at the relevant webpack code, but I’m unable to determine what to change.

Author: Fantashit

1 thought on “Webpack 2 –output-filename not being taken into account.

Comments are closed.