Fix typo in vite-plugin-astro/index.ts (#4467)
This commit is contained in:
parent
62d98e4af3
commit
1d9d72ea31
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export default function astro({ config, logging }: AstroPluginOptions): vite.Plu
|
|||
let transformStyleWithVite: TransformStyleWithVite;
|
||||
let viteDevServer: vite.ViteDevServer | undefined;
|
||||
|
||||
// Variables for determing if an id starts with /src...
|
||||
// Variables for determining if an id starts with /src...
|
||||
const srcRootWeb = config.srcDir.pathname.slice(config.root.pathname.length - 1);
|
||||
const isBrowserPath = (path: string) => path.startsWith(srcRootWeb);
|
||||
|
||||
|
|
Loading…
Reference in a new issue