mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-22 21:55:15 +00:00
Add a new syncRules field project files to allow users to specify middleware to use for files (#813)
This commit is contained in:
30
rojo-test/serve-tests/sync_rule_complex/default.project.json
Normal file
30
rojo-test/serve-tests/sync_rule_complex/default.project.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "sync_rule_complex",
|
||||
"tree": {
|
||||
"$path": "src"
|
||||
},
|
||||
"syncRules": [
|
||||
{
|
||||
"pattern": "*.module",
|
||||
"use": "moduleScript"
|
||||
},
|
||||
{
|
||||
"pattern": "*.server",
|
||||
"use": "serverScript"
|
||||
},
|
||||
{
|
||||
"pattern": "*.client",
|
||||
"use": "clientScript"
|
||||
},
|
||||
{
|
||||
"pattern": "*.rojo",
|
||||
"exclude": "*.ignore.rojo",
|
||||
"use": "project"
|
||||
},
|
||||
{
|
||||
"pattern": "*.dog.rojo2",
|
||||
"use": "text",
|
||||
"suffix": ".dog.rojo2"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user