[wp-trac] [WordPress Trac] #43055: Reorganize Core JS / introduce build step
WordPress Trac
noreply at wordpress.org
Fri Jan 12 08:36:27 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 gziolo):
> As the screen says, npm install && grunt build will be enough to trigger
a build. The JavaScript in the source has been organized to meet the
following concerns.
It can be as simple as `npm install`. You just need to put `grunt build`
as `postinstall` npm run-script. See how it is configured in
WordPress/packages:
https://github.com/WordPress/packages/blob/master/package.json#L35.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43055#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list