WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/26/2019 07:34:24 PM (8 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove the dependency on a globally installed Grunt.

The existing "grunt": "grunt" script in package.json allows for the use of npm run grunt ... which uses the local grunt binary in the project's node_modules.

Fixes #47380

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/embed.php

    r45037 r45445  
    447447        /*
    448448         * If you're looking at a src version of this file, you'll see an "include"
    449          * statement below. This is used by the `grunt build` process to directly
     449         * statement below. This is used by the `npm run build` process to directly
    450450         * include a minified version of wp-embed.js, instead of using the
    451451         * file_get_contents() method from above.
     
    10091009        /*
    10101010         * If you're looking at a src version of this file, you'll see an "include"
    1011          * statement below. This is used by the `grunt build` process to directly
     1011         * statement below. This is used by the `npm run build` process to directly
    10121012         * include a minified version of wp-oembed-embed.css, instead of using the
    10131013         * readfile() method from above.
     
    10401040        /*
    10411041         * If you're looking at a src version of this file, you'll see an "include"
    1042          * statement below. This is used by the `grunt build` process to directly
     1042         * statement below. This is used by the `npm run build` process to directly
    10431043         * include a minified version of wp-embed-template.js, instead of using the
    10441044         * readfile() method from above.
Note: See TracChangeset for help on using the changeset viewer.