WordPress.org

Make WordPress Core

Changeset 51714


Ignore:
Timestamp:
09/01/2021 04:04:44 AM (7 weeks ago)
Author:
peterwilsoncc
Message:

Build: Clean css/dist as part of the webpack build step.

Move the cleaning of the wp-includes/css/dist folder from clean:css to clean:webpack-assets to avoid an order of operations issue in which the files were built shortly before been deleted later in the build process.

Follow up to [51689].

Props netweb, ramonopoly, peterwilsoncc.
Merges [51713] to the 5.8 branch.
Fixes #53719.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/Gruntfile.js

    r51691 r51714  
    116116                WORKING_DIR + 'wp-includes/css/*.min.css',
    117117                WORKING_DIR + 'wp-includes/css/*-rtl*.css',
    118                 WORKING_DIR + 'wp-includes/css/dist/',
    119118                WORKING_DIR + 'wp-admin/css/colors/**/*.css'
    120119            ],
     
    125124            'webpack-assets': [
    126125                WORKING_DIR + 'wp-includes/assets/*',
     126                WORKING_DIR + 'wp-includes/css/dist/',
    127127                '!' + WORKING_DIR + 'wp-includes/assets/script-loader-packages.php'
    128128            ],
Note: See TracChangeset for help on using the changeset viewer.