Configuration
File: cluaupp.config.json at the game root (next to src/).
{ "rootDir": "src", "outDir": "out", "strict": false, "architecture": false}| Field | Default | Effect |
|---|---|---|
rootDir | "src" | Where .clpp / .clp / .clh live |
outDir | "out" | Where Luau is written |
strict | false | Prefix --!strict when clpp did not already (overridden by #pragma) |
architecture | false | Ignored in 1.0 (always one file in, one file out) |
The template maps:
out/ServerScriptService→ServerScriptServiceout/ReplicatedStorage/Shared→ReplicatedStorage.Sharedout/StarterPlayer/StarterPlayerScripts→StarterPlayer.StarterPlayerScriptsout/StarterPlayer/StarterCharacterScripts→StarterPlayer.StarterCharacterScriptsout/ServerStorage→ServerStorageout/ReplicatedFirst→ReplicatedFirstlibs→ReplicatedStorage.CluauppLibs
*.server.clpp → *.server.luau (Script). *.client.clpp → LocalScript. .clp / .clh → ModuleScript.