[wp-trac] [WordPress Trac] #28510: Split javascript files in media into modules
WordPress Trac
noreply at wordpress.org
Mon Feb 9 11:28:43 UTC 2015
#28510: Split javascript files in media into modules
----------------------------+-----------------------------
Reporter: ericlewis | Owner: wonderboymusic
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.2
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
----------------------------+-----------------------------
Comment (by iseulde):
About the watch task. Imo we should really use Browserify's build in
"Watchify". It's a lot faster because it caches previous work. Just
running `grunt watch:browserify` on my computer takes about 80s each time
a file changes. This would need to be a separate watch task though. You
can still add the grunt watch task after it and do more stuff, and leave
out the `keepAlive` option for Browserify.
I'll wait to make a patch, don't want to make a huge patch combining the
previous one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28510#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list