forked from rojo-rbx/rojo
Resolves #667 This PR: - Introduces a new field in the project file: `scriptType` which has the default value of `Class` (in parity with previous versions), but can also be `RunContext`. - This is then passed to `InstanceContext` from the `Project` struct. - This then changes the RunContext in the lua `snapshot_middleware` --------- Co-authored-by: Micah <dekkonot@rocketmail.com>
8 lines
103 B
JSON
8 lines
103 B
JSON
{
|
|
"name": "nested_runcontext",
|
|
"emitLegacyScripts": true,
|
|
"tree": {
|
|
"$path": "folder3"
|
|
}
|
|
}
|