-
Notifications
You must be signed in to change notification settings - Fork 10
1. Configuration
Antonio Bašić edited this page Mar 5, 2020
·
3 revisions
Repository structure can be altered using tailor configuration file. Recognized configuration filenames are (sorted by priority):
tailor.config.js
.tailorrc.js
.tailorrc
.tailorrc.json
Use the tailor.config.js.example
file as a template:
$ cp tailor.config.js.example tailor.config.js
and enter the configuration details. By default, the configuration file is
searched inside the current working directory. If a custom location or a custom
name is needed, it can be provided through the --config
flag passed to target
npm script:
$ npm run dev:client -- --config=path/to/custom/tailor/config.js
alternatively TAILOR_CONFIG
environment variable can be used:
$ TAILOR_CONFIG=path/to/custom/tailor/config.js npm run dev:server
A deeper dive into the actual configure can be found in the following subpages: