[wp-trac] [WordPress Trac] #40894: Use Webpack instead of Browserify for build process

WordPress Trac noreply at wordpress.org
Wed May 31 12:16:28 UTC 2017


#40894: Use Webpack instead of Browserify for build process
------------------------------+----------------------------
 Reporter:  adamsilverstein   |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Build/Test Tools  |    Version:  3.5
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:  javascript        |
------------------------------+----------------------------
 #40834 kicked off a discussion of JavaScript modules in WordPress core.

 In a recent [https://make.wordpress.org/core/2017/05/24/javascript-chat-
 summary-for-may-23rd/ JavaScript Core chat ] the decision was made to move
 in the direction of using Webpack (and ES6 imports) as our bundler of
 choice, and to work first on switching out browserfy in our current build
 chain.

 Since we split the media files in #28510, the core build process
 [https://core.trac.wordpress.org/browser/tags/4.7.5/Gruntfile.js#L160 has
 used Browserify] to combine the media files. While browserify has served
 us well, Webpack is probably a better long term choice for the project,
 especially with the introduction of a new JavaScript framework that may
 require a build.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40894>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list