File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const packageJson = require('./package.json');
6
6
let defaultTasks = [ 'build' , 'watch' , 'connect-sync' ] ;
7
7
8
8
if ( packageJson . projectFormat === 'wordpress' ) {
9
- defaultTasks . push ( 'wp-build' ) ;
9
+ defaultTasks . push ( 'wp-pre- build' ) ;
10
10
}
11
11
12
12
const baseConfig = {
Original file line number Diff line number Diff line change 16
16
"serve" : " gulp" ,
17
17
"init" : " gulp init --name" ,
18
18
"start" : " npm install && bower install && npm run init" ,
19
- "wp" : " gulp set-format --name \" wordpress\" && gulp wp-install && gulp wp-build && npm run wp:plugins" ,
19
+ "wp" : " gulp set-format --name \" wordpress\" && gulp wp-install && gulp wp-pre- build && npm run wp:plugins" ,
20
20
"wp:dev" : " npm run wp && gulp" ,
21
21
"wp:build" : " npm run wp && gulp build" ,
22
22
"wp:plugins" : " cp -r ./plugins ./wordpress/wp-content" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const gulp = require('gulp');
2
2
const plumber = require ( 'gulp-plumber' ) ;
3
3
const del = require ( 'del' ) ;
4
4
5
- gulp . task ( 'wp-build' , function ( ) {
5
+ gulp . task ( 'wp-pre- build' , function ( ) {
6
6
const gulpPaths = gulp . paths ;
7
7
const packageJson = gulp . config . packageJson ;
8
8
You can’t perform that action at this time.
0 commit comments