From c524dc9915f50608b2f6d2d76042912936bcc128 Mon Sep 17 00:00:00 2001 From: Anton Timmermans Date: Wed, 24 Oct 2018 09:56:30 +0000 Subject: [PATCH] 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 --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index 7bba49275b..ad755c7aaa 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -937,6 +937,7 @@ module.exports = function(grunt) { 'includes:embed', 'usebanner', 'webpack:prod', + 'webpack:dev', 'jsvalidate:build' ] );