mirror of
https://github.com/0x5eal/wg-lua.git
synced 2024-12-12 04:40:36 +00:00
Erica Marigold
fef63ec48c
The build command now compiles the project to lua using roblox-ts, then uses darklua to bundle the files, powered by terracotta.
27 lines
664 B
JSON
27 lines
664 B
JSON
{
|
|
"compilerOptions": {
|
|
// required
|
|
"allowSyntheticDefaultImports": true,
|
|
"downlevelIteration": true,
|
|
"jsx": "react",
|
|
"jsxFactory": "Roact.createElement",
|
|
"jsxFragmentFactory": "Roact.createFragment",
|
|
"module": "commonjs",
|
|
"moduleResolution": "Node",
|
|
"noLib": true,
|
|
"resolveJsonModule": true,
|
|
"experimentalDecorators": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleDetection": "force",
|
|
"strict": true,
|
|
"target": "ESNext",
|
|
"typeRoots": ["node_modules/@rbxts"],
|
|
|
|
// configurable
|
|
"rootDir": "src",
|
|
"outDir": "out/rbxts",
|
|
"incremental": true,
|
|
"tsBuildInfoFile": "out/tsconfig.tsbuildinfo",
|
|
"declaration": true
|
|
}
|
|
}
|