My question is, what is the correct way to have node modules inside other node modules, but not as dependencies downloaded from the main NPM repository.I work in a team of web developers and build many of our sites on top of WordPress.Each project is a private NPM Module and we use NPM scripts and webpack and so on to concatenate / minify js and css.We have also developed some plugins that we import as git submodules. We can not have these as npm dependencies because they need to go in a specific folder for WordPress rather than node_modules. What I would like is, from the main project, to be able to run npm install and it installs the dependencies for the main project and the dependencies for the plugin submodules.Is this possible?
Submitted January 22, 2018 at 11:19AM by Jab2870
No comments:
Post a Comment