WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 5 months ago

#46706 closed defect (bug)

Ignore Twenty Nineteen's node_modules directory in "jsvalidate:build" task — at Version 1

Reported by: SergeyBiryukov Owned by:
Milestone: 5.2 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

Twenty Nineteen uses npm to run various build tasks: node-sass, rtlcss, etc.

Once you run npm install in the theme's directory, grunt build core task fails due to jsvalidate:build attempting to validate files in twentynineteen/node_modules. This directory should be excluded from the task.

Change History (1)

#1 @SergeyBiryukov
16 months ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.