[wp-trac] [WordPress Trac] #43731: Use Webpack + NPM scripts to build all the things

WordPress Trac noreply at wordpress.org
Tue Aug 14 18:15:46 UTC 2018


#43731: Use Webpack + NPM scripts to build all the things
------------------------------+------------------------------
 Reporter:  omarreiss         |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by mnelson4):

 I believe using npm and webpack may address
 https://core.trac.wordpress.org/ticket/44271.

 FYI we use npm for our plugin's build process. One significant advantage
 is that we can use the command `webpack --watch --watch-poll` (see
 https://github.com/eventespresso/event-espresso-core/blob/master/docs/AA
 --Javascript-in-EE/build-process.md#watch) which uses poling instead of
 waiting for the OS to indicate that a file was changed. This is helpful
 because normal watching doesn't work when used from inside a VM (like VVV)
 and your host machine is on Windows.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43731#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list