Skip to content

Commit 487f982

Browse files
branchseerclaude
andcommitted
refactor(static-config): distinguish not-analyzable from field-absent
resolve_static_config now returns Option<FxHashMap<..., StaticFieldValue>>: - None: config is not analyzable (no file, parse error, no export default, or exported value is not an object literal) — caller should fall back to NAPI - Some(map): config was successfully analyzed - Json(value): field extracted as pure JSON - NonStatic: field exists but value is not a JSON literal - key absent: field does not exist in the config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0f49faa commit 487f982

File tree

2 files changed

+235
-169
lines changed
  • crates/vite_static_config/src
  • packages/cli/binding/src

2 files changed

+235
-169
lines changed

0 commit comments

Comments
 (0)