Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #57891, comment 5


Ignore:
Timestamp:
03/08/2023 11:00:20 PM (2 years ago)
Author:
petitphp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57891, comment 5

    v2 v3  
    33~~It might be that WordPress is not picking up which blocks are used in the page and thus not loading the associated styles or the styles are not inline in the HTML.~~
    44
    5 Seem to be related to [55484] which cause the compiled assets to be deleted just after being created by webpack.
     5Seem to be related to [55484] which cause the compiled assets to be deleted just after being created by webpack during the build process.
    66
    7 In `Gruntfile.js`, removing the path `'wp-includes/blocks/**/*.css'` from the `cssFiles` array and running a `npm run build:dev` fix the issue
     7In `Gruntfile.js`, removing the path `'wp-includes/blocks/**/*.css'` from the `cssFiles` array and running a `npm run build:dev` fix the issue on my local environment
    88