[wp-trac] [WordPress Trac] #52879: The SCRIPT_DEBUG constant is ignored when concatenating scripts
WordPress Trac
noreply at wordpress.org
Mon Mar 22 23:34:45 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 isabel_brison):
Tested the patch and minified scripts are now being loaded correctly when
SCRIPT_DEBUG is false.
> 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.
Is it a problem though? The default local environment setup requires `npm
run build:dev` to be run anyway.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52879#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list