[wp-trac] [WordPress Trac] #45201: Exclude JavaScript source maps from build
WordPress Trac
noreply at wordpress.org
Wed Nov 21 18:35:57 UTC 2018
#45201: Exclude JavaScript source maps from build
-------------------------------------+---------------------
Reporter: mcsf | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: Build/Test Tools | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------
Comment (by mcsf):
Replying to [comment:8 pento]:
> [attachment:"45201.diff"] makes the build happen without the map files.
Can someone please test that it doesn't have any weird side effects?
Nothing weird observed. I can confirm `.map` files are excluded.
The only exception can be found in the Twenty Nineteen directory:
{{{
$ find build -name '*.map'
build/wp-content/themes/twentynineteen/style.css.map
}}}
I've uploaded
[https://core.trac.wordpress.org/attachment/ticket/45201/45201.2.diff
45201.2.diff] to cover this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45201#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list