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, atimmer.

Merges [43817] to trunk.

Fixes #45156.

git-svn-id: https://develop.svn.wordpress.org/trunk@44161 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2018-12-14 04:35:59 +00:00
parent 7732cce708
commit 6993b164b5
1 changed files with 1 additions and 0 deletions

View File

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