WordPress.org

Make WordPress Core

Changeset 43933


Ignore:
Timestamp:
11/22/2018 03:20:30 AM (10 months ago)
Author:
pento
Message:

Build Tools: Don't minimise CSS in the unminimised files.

See #45201.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/tools/webpack/packages.js

    r43932 r43933  
    166166        flatten: true,
    167167        transform: ( content ) => {
    168             if ( config.mode === 'production' ) {
     168            if ( config.mode === 'production' && ! env.forceBuildTarget ) {
    169169                return postcss( [
    170170                    require( 'cssnano' )( {
Note: See TracChangeset for help on using the changeset viewer.