[wp-trac] [WordPress Trac] #61575: Node Modules in sub-directories not getting ignored while exporting the theme

WordPress Trac noreply at wordpress.org
Thu Jul 4 20:34:05 UTC 2024


#61575: Node Modules in sub-directories not getting ignored while exporting the
theme
----------------------------+-----------------------------
 Reporter:  rajinsharwar    |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 There is an issue with node_modules not getting ignored while in the sub-
 directory and adding a new filter for permission capability for the Export
 button.

 To replicate try to run these commands to add the node_modules under any
 sub-directory in the theme.:
 1. cd ../path/to/wp-content/themes/twentytwentythree/assets
 2. npm install some-package
 3. Export the theme.

 You will see that the node_modules folder is present when the theme is
 exported.

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


More information about the wp-trac mailing list