mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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:
parent
9673e834e0
commit
c524dc9915
@ -937,6 +937,7 @@ module.exports = function(grunt) {
|
||||
'includes:embed',
|
||||
'usebanner',
|
||||
'webpack:prod',
|
||||
'webpack:dev',
|
||||
'jsvalidate:build'
|
||||
] );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user