Closed andyexeter closed 6 years ago
Closing this because it was caused by user error. I hadn't included the grunt-webpack
module in my package.json and forgot that tasks have to match the names of the grunt modules, hence grunt uglif
not working!
Bit of a strange one...I have a task defined in
grunt/webpack.js
but when I try to rungrunt webpack
I get:I have a number of other tasks in the same directory e.g
grunt/uglify.js
, which runs just fine:To try and debug this, I renamed
grunt/uglify.js
togrunt/uglif.js
and it stopped working...The output of
grunt --config-debug
is:So the
webpack
task is clearly being picked up when the config is generated. Any idea what's going on here? My Travis CI builds are failing with the same issue so I think that rules out any quirks from my machine.