[wp-trac] [WordPress Trac] #41870: Code Editor: Add grunt task for building new CodeMirror bundles from external dependencies

WordPress Trac noreply at wordpress.org
Thu Oct 19 13:37:00 UTC 2017


#41870: Code Editor: Add grunt task for building new CodeMirror bundles from
external dependencies
------------------------------+------------------------------
 Reporter:  westonruter       |       Owner:  adamsilverstein
     Type:  task (blessed)    |      Status:  assigned
 Priority:  high              |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  javascript
------------------------------+------------------------------
Changes (by adamsilverstein):

 * keywords:  needs-patch => has-patch


Comment:

 In [attachment:41870.10.diff] I added a build process for the linters.
 Each linter gets a manifest, and webpack loops thru them, imports and
 exports a build file, '''automatically adding them to the wp namespace'''.

 Noting that i'm simply duplicating code here between the dev and prod
 webpack configs  - might make sense to combine them for now with a config
 toggle for the only differences between the two? We can also split them
 later if the approaches become very different.

 What do you think of this approach @westonruter?

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


More information about the wp-trac mailing list