[wp-trac] [WordPress Trac] #43055: Reorganize Core JS / introduce build step
WordPress Trac
noreply at wordpress.org
Fri Feb 9 14:11:44 UTC 2018
#43055: Reorganize Core JS / introduce build step
------------------------------+-------------------------
Reporter: omarreiss | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses: javascript
------------------------------+-------------------------
Comment (by adamsilverstein):
@omarreiss Great work here, I'm very excited to see this step forward.
I reviewed the branch in progress on your mirror and also pushed to my
fork to run in Travis - noting that a bunch of tests fail after this
reorgnization that we'll need to fix, I didn’t look into the reason: https
://travis-ci.org/adamsilverstein/wordpress-develop-fork.
Overall this is looking really good, I have a few questions and comments:
* I keep a bunch of stuff in wp-content, so when my 'build' step takes a
little time to copy all the files over. Maybe `grunt watch` should skip
cleaning/copying files?
I see you have the media source files in a media folder under js,
wondering if this should move down one level into a source folder so that
as we add more build file folders they don't fill up the top level folder.
I'll review the documentation you linked as well, thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43055#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list