[wp-trac] [WordPress Trac] #56615: Running `build` scripts on Windows machines produces different results

WordPress Trac noreply at wordpress.org
Fri Sep 23 08:26:00 UTC 2022


#56615: Running `build` scripts on Windows machines produces different results
-------------------------------------+---------------------
 Reporter:  desrosj                  |       Owner:  gziolo
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.1
Component:  Build/Test Tools         |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by gziolo):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54289" 54289]:
 {{{
 #!CommitTicketReference repository="" revision="54289"
 Build: Improve how combined assets are generated

 Allows to revert changes applied in [54277] - temporary workaround for the
 failing Test NPM CI check on Windows.

 Improvements included:
 - generate combined asset files for both production and development
 - store in the repository only the production version of the combined
 assets for packages, we use everything else only in development
 - to make unit tests work, ensure that they ignore react fast refresh and
 use the production version of combined assets that are present in the
 source code

 Props bernhard-reiter, jsnajdr, clorith, wildworks.
 Fixes #56615.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56615#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list