MCPcopy
hub / github.com/electron/forge / setDirectories

Method setDirectories

packages/plugin/vite/src/VitePlugin.ts:67–70  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

65 };
66
67 public setDirectories(dir: string): void {
68 this.projectDir = dir;
69 this.baseDir = path.join(dir, '.vite');
70 }
71
72 private get configGenerator(): ViteConfigGenerator {
73 return (this.configGeneratorCache ??= new ViteConfigGenerator(

Callers 4

VitePluginClass · 0.95
VitePlugin.spec.tsFile · 0.80
WebpackPluginClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected