@shared
Configure the location of shared code.
Syntax
- Lowercase alphanumeric string
- Maximum of 20 characters
- Dashes are allowed; underscores are not allowed
- Must begin with a letter
Example
The following configuration examples define a different folder than the default src/shared
directory.
arc
@app
myapp
@shared
src path/to/code
json
{
"app": "myapp",
"shared": {
"src": "path/to/code"
}
}
toml
app="myapp"
[shared]
src="path/to/code"
yaml
app: myapp
shared:
- src: path/to/code