1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 12:10:30 +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
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

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) {