Make WordPress Core

Changeset 51713 for trunk


Ignore:
Timestamp:
09/01/2021 03:59:30 AM (5 years 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.
Fixes #53719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r51689 r51713  
    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.