1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-04 19:37:55 +00:00

Run the JSX transformer without type checking

Makes it run about twice as fast. Still irritatingly slow, though really
want to avoid making it incremental or anything.
This commit is contained in:
Jonathan Coates
2022-07-02 10:12:47 +01:00
parent d6afee8deb
commit d967730085

View File

@@ -330,7 +330,7 @@ def jsxDocs = tasks.register("jsxDocs", Exec) {
inputs.files(fileTree("$buildDir/docs/lua"))
outputs.dir("$buildDir/docs/site")
commandLine mkCommand('"node_modules/.bin/ts-node" --esm src/web/transform.tsx')
commandLine mkCommand('"node_modules/.bin/ts-node" -T --esm src/web/transform.tsx')
}
def docWebsite = tasks.register("docWebsite", Copy.class) {