Make WordPress Core

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


Ignore:
Timestamp:
04/10/2018 05:13:17 PM (7 years ago)
Author:
youknowriad
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43731, comment 4

    v1 v2  
    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 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.
     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 by 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
    3 I 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).
     3I 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).
    44
    55I don't have a strong confidence in Trac and the workflow around the patches and stuff. Let me know if I'm doing something wrong.