Build Tools: upgrade grunt-browserify
to ~4.0.0
and remove the watch
task for browserify
, which has its own internal watcher. Run npm install
to update.
Props iseulde. Fixes #31911. git-svn-id: https://develop.svn.wordpress.org/trunk@34888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
24cc3db43a
commit
bec5838166
11
Gruntfile.js
11
Gruntfile.js
@ -545,16 +545,6 @@ module.exports = function(grunt) {
|
|||||||
interval: 2000
|
interval: 2000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
browserify: {
|
|
||||||
files: [
|
|
||||||
SOURCE_DIR + 'wp-includes/js/media/**/*.js',
|
|
||||||
'!' + SOURCE_DIR + 'wp-includes/js/media/*.manifest.js'
|
|
||||||
],
|
|
||||||
tasks: ['browserify', 'copy:dynamic'],
|
|
||||||
options: {
|
|
||||||
spawn: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
config: {
|
config: {
|
||||||
files: 'Gruntfile.js'
|
files: 'Gruntfile.js'
|
||||||
},
|
},
|
||||||
@ -686,6 +676,7 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src = [ path.relative( SOURCE_DIR, filepath ) ];
|
src = [ path.relative( SOURCE_DIR, filepath ) ];
|
||||||
|
|
||||||
if ( action === 'deleted' ) {
|
if ( action === 'deleted' ) {
|
||||||
grunt.config( [ 'clean', 'dynamic', 'src' ], src );
|
grunt.config( [ 'clean', 'dynamic', 'src' ], src );
|
||||||
} else {
|
} else {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer-core": "~5.2.1",
|
"autoprefixer-core": "~5.2.1",
|
||||||
"grunt": "~0.4.5",
|
"grunt": "~0.4.5",
|
||||||
"grunt-browserify": "~3.8.0",
|
"grunt-browserify": "~4.0.0",
|
||||||
"grunt-contrib-clean": "~0.6.0",
|
"grunt-contrib-clean": "~0.6.0",
|
||||||
"grunt-contrib-compress": "~0.13.0",
|
"grunt-contrib-compress": "~0.13.0",
|
||||||
"grunt-contrib-concat": "~0.5.1",
|
"grunt-contrib-concat": "~0.5.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user