Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43731, comment 4


Ignore:
Timestamp:
04/10/2018 05:12:27 PM (8 years ago)
Author:
youknowriad
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43731, comment 4

    initial v1  
    1 So I started looking at this today, and the Gruntfile.js looks way too complex to move to WebPack on one step. I propose we do iteratively: move task my task to npm scripts while keeping Grunt as the task manager, and at some point, it will become obvious that we can just remove it.
     1So I started looking at this today, and the Gruntfile.js looks way too complex to move to WebPack on one step. I propose we do it iteratively: move task my task to npm scripts while keeping Grunt as the task manager, and at some point, it will become obvious that we can just remove it.
    22
    33I know we're also planning to move to ESlint instead of JSHint and this would also be easier if the JSHint setup was a separate npm script. So in this first patch I'm proposing to move the JSHint script to an npm script, still call it in the gruntfile to keep the toolchain as is (precommit).