MCPcopy Index your code
hub / github.com/chart-kit/react-native-chart-kit / nodeModuleSource

Function nodeModuleSource

apps/site/astro.config.mjs:14–15  ·  view source on GitHub ↗
(packagePath)

Source from the content-addressed store, hash-verified

12const packageSource = (packagePath) =>
13 fileURLToPath(new URL(`../../packages/${packagePath}`, import.meta.url));
14const nodeModuleSource = (packagePath) =>
15 fileURLToPath(new URL(`../../node_modules/${packagePath}`, import.meta.url));
16const localSource = (packagePath) =>
17 fileURLToPath(new URL(packagePath, import.meta.url));
18const reactNativeWebStub = localSource("./src/previews/reactNativeWebStub.tsx");

Callers 1

astro.config.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected