WordPress.org

Make WordPress Core

Changeset 34888


Ignore:
Timestamp:
10/07/2015 12:00:00 AM (4 years ago)
Author:
wonderboymusic
Message:

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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r33960 r34888  
    546546                }
    547547            },
    548             browserify: {
    549                 files: [
    550                     SOURCE_DIR + 'wp-includes/js/media/**/*.js',
    551                     '!' + SOURCE_DIR + 'wp-includes/js/media/*.manifest.js'
    552                 ],
    553                 tasks: ['browserify', 'copy:dynamic'],
    554                 options: {
    555                     spawn: false
    556                 }
    557             },
    558548            config: {
    559549                files: 'Gruntfile.js'
     
    687677
    688678        src = [ path.relative( SOURCE_DIR, filepath ) ];
     679
    689680        if ( action === 'deleted' ) {
    690681            grunt.config( [ 'clean', 'dynamic', 'src' ], src );
  • trunk/package.json

    r33726 r34888  
    1212    "autoprefixer-core": "~5.2.1",
    1313    "grunt": "~0.4.5",
    14     "grunt-browserify": "~3.8.0",
     14    "grunt-browserify": "~4.0.0",
    1515    "grunt-contrib-clean": "~0.6.0",
    1616    "grunt-contrib-compress": "~0.13.0",
Note: See TracChangeset for help on using the changeset viewer.