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

Created on 10 Jul 2016  路  1Comment  路  Source: webpack/webpack

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.

bug

Most helpful comment

missed the s from your module.exports line?

>All comments

missed the s from your module.exports line?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicksparks picture nicksparks  路  3Comments

andersekdahl picture andersekdahl  路  3Comments

dubrowgn picture dubrowgn  路  3Comments

jaesung2061 picture jaesung2061  路  3Comments

natew picture natew  路  3Comments