I am currently Using Laravel 10 (I know it's outdated and I will upgrade asap), and I have node_modules folder inside the project because i installed some npm modules that I need.
But I need to move the node_modules to a separate Node.js-only project and somehow make the Laravel project use the node_modules from there.
Right now the structure is:
laravel-project
|______node_modules
|________some-module
|________some-other-module
But I need it to be:
laravel-project
nodejs-project
|______node_modules
|________some-module
|________some-other-module
Is such thing possible?