mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 23:53:13 +09:00
Pre-compile Message validator
Use a script to pre-compile the validator for the Message class to reduce the loading time for ctl by about 40ms.
This commit is contained in:
1 parent
ae542e9501
commit
5eb91be6fb
5 files changed
+36
-2
No files matched your search
@@ -4,6 +4,10 @@
|
||||
"version": "2.0.0-alpha.13",
|
||||
"repository": "https://github.com/clusterio/clusterio",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"prepare": "pnpm run compile_validator",
|
||||
"compile_validator": "node scripts/compile_validator.js"
|
||||
},
|
||||
"browser": "browser.js",
|
||||
"keywords": [
|
||||
"factorio"
|
||||
|
||||
Reference in new issue
Block a user