FRED question:
How do I exclude a node_modules folder that is in my theme assets folder from being added to the FRED package on GPM build?
(I do want to include the gulp and Tailwind config files to allow theme buyers to customize the code)
You could try adding “node_modules” to the “notPath” array here in the code (for MODX 3):
It looks like the code already ignores the “_data” folder when adding the theme folder (but I only took a quick glance at the code and I could be mistaken).