Title: Automatically filter node_modules
Last modified: August 30, 2016

---

# Automatically filter node_modules

 *  Resolved [rtpHarry](https://wordpress.org/support/users/rtpharry/)
 * (@rtpharry)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/automatically-filter-node_modules/)
 * This is great plugin, thanks for making it available.
 * Please can you add a feature?
 * Exclude node_modules folder by default.
 * I know there is the directory filters option (which I use) but it’s a pain to
   type out the path to the theme + node_folders every time.
 * node_folders isn’t supposed to be deployed ever so its not unreasonable to exclude
   it.
 * Also, for people running WordPress on Windows servers it means that the automatic
   extract fails if you do include the node_modules folder. The paths are too long
   for Windows and it borks. You can use 7-zip to do a manual extract but then you
   have to log in to the server via remote desktop, manually extract it and thats
   a pain as well.
 * The `node_modules` folder may occur at any place within a wordpress, for example
   within themes or modules so you can’t hardcode it.
 * The perfect solution to this we would be a checkbox, which is ticked by default
   that says: Exclude node_modules folders.
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

Viewing 1 replies (of 1 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/automatically-filter-node_modules/#post-6513191)
 * Hey Harry,
 * Thanks for the feedback! We will add that to the backlog to look at. The pro 
   version of the plugin will be adding pattern matching sometime later this year,
   which may also be a bit easier on the fingers…
 * Cheers~

Viewing 1 replies (of 1 total)

The topic ‘Automatically filter node_modules’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/automatically-filter-node_modules/#post-6513191)
 * Status: resolved