diff options
author | 2022-08-25 17:24:16 +0900 | |
---|---|---|
committer | 2022-08-25 16:24:16 +0800 | |
commit | 1d9d72ea31060806a6f1e98937399c44cc13c039 (patch) | |
tree | 03039c55a1448e1847b8f14d94bc1daa305a9170 | |
parent | 62d98e4af386da494b50f42338ceae950a2ea9cc (diff) | |
download | astro-1d9d72ea31060806a6f1e98937399c44cc13c039.tar.gz astro-1d9d72ea31060806a6f1e98937399c44cc13c039.tar.zst astro-1d9d72ea31060806a6f1e98937399c44cc13c039.zip |
Fix typo in vite-plugin-astro/index.ts (#4467)
-rw-r--r-- | packages/astro/src/vite-plugin-astro/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/vite-plugin-astro/index.ts b/packages/astro/src/vite-plugin-astro/index.ts index f7a1f527d..ccfba7af7 100644 --- a/packages/astro/src/vite-plugin-astro/index.ts +++ b/packages/astro/src/vite-plugin-astro/index.ts @@ -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); |