Skip to content

Configuration

File: cluaupp.config.json at the game root (next to src/).

{
"rootDir": "src",
"outDir": "out",
"strict": false,
"architecture": false
}
FieldDefaultEffect
rootDir"src"Where .clpp / .clp / .clh live
outDir"out"Where Luau is written
strictfalsePrefix --!strict when clpp did not already (overridden by #pragma)
architecturefalseIgnored in 1.0 (always one file in, one file out)

The template maps:

  • out/ServerScriptServiceServerScriptService
  • out/ReplicatedStorage/SharedReplicatedStorage.Shared
  • out/StarterPlayer/StarterPlayerScriptsStarterPlayer.StarterPlayerScripts
  • out/StarterPlayer/StarterCharacterScriptsStarterPlayer.StarterCharacterScripts
  • out/ServerStorageServerStorage
  • out/ReplicatedFirstReplicatedFirst
  • libsReplicatedStorage.CluauppLibs

*.server.clpp*.server.luau (Script). *.client.clpp → LocalScript. .clp / .clh → ModuleScript.