WordPress.org

Making WordPress.org

Changeset 8389


Ignore:
Timestamp:
03/04/2019 05:42:59 AM (7 months ago)
Author:
dd32
Message:

WordPress.org & WordPress.org Themes: Upgrade the SCSS & CSS minification routines to work. This matches the implementation used by other themes.

See #4233.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/Gruntfile.js

    r7448 r8389  
    3131                    } ),
    3232                    require( 'pixrem' ),
     33                    require('cssnano')({
     34                        mergeRules: false
     35                    })
    3336                ]
    3437            },
     
    4346        sass: {
    4447            options: {
     48                implementation: require( 'node-sass' ),
    4549                sourceMap: true,
    4650                // Don't add source map URL in built version.
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/package.json

    r7112 r8389  
    1515    "autoprefixer": "^6.3.6",
    1616    "cssnano": "^3.7.4",
    17     "grunt": "^1.0.1",
     17    "es6-promise": "~4.0.5",
     18    "grunt": "^1.0.3",
    1819    "grunt-contrib-jshint": "^1.0.0",
    1920    "grunt-contrib-uglify": "~2.0.0",
    20     "grunt-contrib-watch": "^1.0.0",
     21    "grunt-contrib-watch": "^1.1.0",
    2122    "grunt-postcss": "^0.8.0",
    2223    "grunt-rtlcss": "^2.0.1",
    23     "grunt-sass": "^1.2.0",
     24    "grunt-sass": "~3.0.1",
    2425    "grunt-sass-globbing": "^1.5.1",
    25     "pixrem": "^3.0.2",
    26     "es6-promise": "~4.0.5"
     26    "node-sass": "^4.9.3",
     27    "pixrem": "^3.0.2"
    2728  }
    2829}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/Gruntfile.js

    r7969 r8389  
    3030                    } ),
    3131                    require( 'pixrem' ),
     32                    require('cssnano')({
     33                        mergeRules: false
     34                    })
    3235                ]
    3336            },
     
    5558        sass: {
    5659            options: {
     60                implementation: require( 'node-sass' ),
    5761                sourceMap: true,
    5862                // Don't add source map URL in built version.
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/package.json

    r5068 r8389  
    1515    "autoprefixer": "^6.3.6",
    1616    "cssnano": "^3.7.4",
    17     "grunt": "^1.0.1",
     17    "es6-promise": "~4.0.5",
     18    "grunt": "^1.0.3",
    1819    "grunt-contrib-jshint": "^1.0.0",
    19     "grunt-contrib-watch": "^1.0.0",
     20    "grunt-contrib-watch": "^1.1.0",
    2021    "grunt-postcss": "^0.8.0",
    2122    "grunt-rtlcss": "^2.0.1",
    22     "grunt-sass": "^1.2.0",
     23    "grunt-sass": "~3.0.1",
    2324    "grunt-sass-globbing": "^1.5.1",
    24     "pixrem": "^3.0.2",
    25     "es6-promise": "~4.0.5"
     25    "node-sass": "^4.9.3",
     26    "pixrem": "^3.0.2"
    2627  }
    2728}
Note: See TracChangeset for help on using the changeset viewer.