MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / getSvelteConfig

Function getSvelteConfig

packages/webpack5/src/configuration/svelte.ts:114–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114function getSvelteConfig(): ISvelteConfig | undefined {
115 try {
116 return require(getProjectFilePath('svelte.config.js')) as ISvelteConfig;
117 } catch (err) {
118 error('Could not find svelte.config.js.', err);
119 }
120}

Callers 2

svelte.tsFile · 0.85

Calls 2

getProjectFilePathFunction · 0.90
errorFunction · 0.90

Tested by

no test coverage detected