Make WordPress Core

Changeset 61458 for trunk/package.json


Ignore:
Timestamp:
01/09/2026 09:21:16 AM (10 months ago)
Author:
youknowriad
Message:

Build: Move Gutenberg checkout to a postinstall script.

This separates dependency setup from the build process by running
the Gutenberg checkout during npm install rather than before each
build. Build times decrease by approximately 30 seconds since the
checkout now occurs once during installation.

Props youknowriad, dmsnell.
See #64393.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r61450 r61458  
    9898        },
    9999        "scripts": {
     100                "postinstall": "npm run gutenberg:checkout",
    100101                "build": "grunt build",
    101102                "build:dev": "grunt build --dev",
Note: See TracChangeset for help on using the changeset viewer.