Build tools: Build webpack dev in grunt build.

For the WordPress zip we need both the minified and non-minified files. This is because of `SCRIPT_DEBUG`. So in `grunt build` we need to do both `grunt webpack:prod` and `grunt webpack:dev`.

Props bordoni.
Fixes #45156.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Anton Timmermans 2018-10-24 09:56:30 +00:00
parent 9673e834e0
commit c524dc9915

View File

@ -937,6 +937,7 @@ module.exports = function(grunt) {
'includes:embed',
'usebanner',
'webpack:prod',
'webpack:dev',
'jsvalidate:build'
] );