mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-12-07 14:58:04 +00:00
Some web tooling changes
- Switch to tsx from ts-node, fixing issues on Node 20 - Update rehype
This commit is contained in:
@@ -67,7 +67,7 @@ val jsxDocs by tasks.registering(cc.tweaked.gradle.NpxExecToDir::class) {
|
||||
// Output directory. Also defined in src/transform.tsx
|
||||
output.set(buildDir.resolve("jsxDocs"))
|
||||
|
||||
args = listOf("ts-node", "-T", "--esm", "src/transform.tsx")
|
||||
args = listOf("tsx", "src/transform.tsx")
|
||||
}
|
||||
|
||||
val docWebsite by tasks.registering(Copy::class) {
|
||||
|
||||
Reference in New Issue
Block a user