Q: Laravel node_modules folder < save own/modified modules I am running a laravel project, version 7 right now. I've installed "npm install xxx --save" some modules from git and other datasources - and modified them because I needed them in the project at different locations with small modifications.
E.g. I installed vue-material-year-calendar and copied the year-calendar folder in the node_modules folder into year-calendar12 and modified the vue.files in year-calendar12 folder.
So far so good - npm run watch/dev works and I can use the modified modules as expected.
Today I installed another package which I needed and Laravel mix removed my modified folders from modules.
So I am missing some best practices to do that what I want to achieve :)
How can I tell node that I might leave the "copied and modified" packages there, when I install another package?
Regards
Stev
