mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Use composite build
Make TypeScript build faster for a multi package setup by allowing the compiller to quickly determine if a package is already built.
This commit is contained in:
1 parent
a66e930997
commit
954bc9b314
2 files changed
+2
-3
No files matched your search
@@ -5,7 +5,7 @@
|
||||
"repository": "https://github.com/clusterio/clusterio",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"prepare": "tsc && pnpm run compile_validator",
|
||||
"prepare": "tsc --build && pnpm run compile_validator",
|
||||
"compile_validator": "node scripts/compile_validator.js"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
|
||||
@@ -6,12 +6,11 @@
|
||||
"target": "es2022",
|
||||
"rootDir": ".",
|
||||
"outDir": "dist",
|
||||
"composite": false,
|
||||
"composite": true,
|
||||
"strict": true,
|
||||
"alwaysStrict": true,
|
||||
"allowJs": true,
|
||||
"checkJs": false,
|
||||
"noEmitOnError": false,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user