MCPcopy Create free account
hub / github.com/massCodeIO/massCode / readJson

Function readJson

integrations/clipper/vite.config.ts:24–26  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

22}
23
24function readJson<T>(filePath: string): T {
25 return JSON.parse(readFileSync(filePath, 'utf8')) as T
26}
27
28export default defineConfig(({ mode }) => {
29 const browser = getBrowserTarget(mode)

Callers 1

writeBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected