[wp-trac] [WordPress Trac] #52879: The SCRIPT_DEBUG constant is ignored when concatenating scripts

WordPress Trac noreply at wordpress.org
Mon Mar 22 20:27:37 UTC 2021


#52879: The SCRIPT_DEBUG constant is ignored when concatenating scripts
---------------------------+---------------------
 Reporter:  azaozz         |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.8
Component:  Script Loader  |     Version:  2.8
 Severity:  minor          |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+---------------------

Comment (by azaozz):

 No guarantee. Up-to-date js and minified files (and some php files) would
 exist in /src only after `npm run dev` (to "watch") or `npm run build:dev`
 has been run. This is a problem and there are few tickets about it. But
 thinking being able to run from /src with SCRIPT_DEBUG = false should work
 properly in any case.

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


More information about the wp-trac mailing list