-
|
Hi! I am using ddev/ddev-pnpm in my ddev projects. I read on the command line that I should exclude I have these (relevant) settings in my docroot: public
upload_dirs:
- content/uploads # my uploads folder (customized bedrock project)
- ../node_modules # my node_modules folderThe relevant parts of my project's directory structure: ❯ tree -L 2
.
├── node_modules
│ ├── ...
├── public
│ ├── content
├── rector.php
└── vite.config.tsI install my node packages via The part that confuses meSince I am installing my packages within the ddev container and node_modules is excluded, I did initially expect to see nothing on my host machine... no I've read the docs but it seems to assuming knowledge I don't have. Can someone explain or point me to a relevant source? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Sometimes it helps to write down a question. Now I knew what do google for and found this: https://instagit.com/ddev/ddev/what-are-ddev-performance-modes-mutagen-vs-bind-mounts/ |
Beta Was this translation helpful? Give feedback.
If you have
upload_dirsset up correctly, then yournode_moduleswill show up on the host ane in the container, but it will be managed via a bind mount instead of by mutagen.The docs link is https://docs.ddev.com/en/stable/users/install/performance/