The command-line argument --module-bind-pre generates an invalid configuration using the "preLoaders" key instead of "loaders" with "enforce":"pre".
[edit: and while at it, might as well change "loaders" to "rules"]
Likewise for post.
Tested on webpack 2.5.1, but from the code it seems to be the same in current version 2.6.0 as well.
The command-line argument --module-bind-pre generates an invalid configuration using the "preLoaders" key instead of "loaders" with "enforce":"pre".
[edit: and while at it, might as well change "loaders" to "rules"]
Likewise for post.
Tested on webpack 2.5.1, but from the code it seems to be the same in current version 2.6.0 as well.