Make WordPress Core


Ignore:
Timestamp:
05/26/2019 07:34:24 PM (6 years 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/formatting.php

    r45424 r45445  
    55215521        /*
    55225522         * If you're looking at a src version of this file, you'll see an "include"
    5523          * statement below. This is used by the `grunt build` process to directly
     5523         * statement below. This is used by the `npm run build` process to directly
    55245524         * include a minified version of wp-emoji-loader.js, instead of using the
    55255525         * readfile() method from above.
     
    57375737 *
    57385738 * These arrays are automatically built from the regex in twemoji.js - if they need to be updated,
    5739  * you should update the regex there, then run the `grunt precommit:emoji` job.
     5739 * you should update the regex there, then run the `npm run grunt precommit:emoji` job.
    57405740 *
    57415741 * @since 4.9.0
Note: See TracChangeset for help on using the changeset viewer.