Build Directory
How to use a Dedicated Build Directory
Folder Structure
/build
/node_modules
/.natronrc
/natronfile.js
/package.json
/dest
/node_modules
/src
/.natronrc
/package.json
Build Directory
package.json
package.json
{
"private": true,
"dependencies": {
"natron": "^0.1.0",
"natron-vinyl": "^0.1.0",
"vinyl-tf-babel": "^0.1.0"
}
}
Package Root
.natronrc
.natronrc
The natronfile
option tells natron
where to find the actual Natronfile
and allows to run natron
from any directory within the project.
{
"natronfile": "build/natronfile"
}
Updated less than a minute ago