Header

How do I execute build commands using files from a different directory?

If your build command uses files that are in a different directory you can simply cd to the directory first, then run the commands.

An example would be:

cd /path/to/folder
npm install
Tree

Proudly powered by Katapult. Running on 100% renewable energy.