Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #53687, comment 6


Ignore:
Timestamp:
08/10/2021 07:20:48 PM (3 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53687, comment 6

    v1 v2  
    1111However cleaning of all built files will not work at the moment as the above four files (and many others) are not being "cleaned" from /src anyway. Running `grunt clean --dev` leaves quite a few "built" files behind. Then `grunt copy:files` copies a mess of "original" and  "built" files. Then most of the copied built files are overwritten when building the js and css or by webpack.
    1212
    13 For this ticket is seems it would be enough to either exclude the 4 offending files from copying to /build, for now. A better way to fix this and similar cases in the future is to fix `grunt clean --dev` and run it together with `grunt clean` before every build.
     13For this ticket is seems it would be enough to exclude the 4 offending files from copying to /build, for now. A better way to fix this and similar cases in the future is to fix `grunt clean --dev` and run it together with `grunt clean` before every build.
    1414
    1515Going to reopen this as it prevents building to /build after building to /src.