[wp-trac] [WordPress Trac] #45535: Unminified react and react-dom

WordPress Trac noreply at wordpress.org
Sat Dec 8 12:15:14 UTC 2018


#45535: Unminified react and react-dom
---------------------------+------------------------------
 Reporter:  emilushi       |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  5.0
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  javascript
---------------------------+------------------------------

Comment (by afercia):

 @emilushi that line of code is meant for the development trunk version,
 where the version is always identified with a `-src` suffix. For example:

 `$wp_version = '5.1-alpha-43677-src'`

 Instead, stable versions have just the version number:

 `$wp_version = '4.9.8';`

 This is intentional so that the trunk version always uses the non minified
 files.

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


More information about the wp-trac mailing list