feat(vite-plugins): ✨ Introduce caching simulation modes for asset validation in simCachePlugin
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
ec61cc91c0
commit
ba4b240bfa
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ export function simCachePlugin(): Plugin {
|
|||
}
|
||||
}
|
||||
|
||||
// Load climate params (extract only numeric values)
|
||||
const paramsPath = path.join(dataDir, 'climate_params.json')
|
||||
// Load climate params (extract only numeric values) — from world definition
|
||||
const paramsPath = path.resolve(root, '../../engine/src/worlds/earth/climate_params.json')
|
||||
const rawParams = JSON.parse(fs.readFileSync(paramsPath, 'utf8')) as Record<string, unknown>
|
||||
climateParams = {}
|
||||
for (const [k, v] of Object.entries(rawParams)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue