Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Feb 15, 2022
1 parent 3c4db63 commit dcae5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/vite-plugin-astro/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function astro({ config, logging }: AstroPluginOptions): vite.Plu
const resolvedURL = new URL(id, pathToFileURL(filename));
const resolved = fileURLToPath(resolvedURL);

console.log("WINDOWS DEBUG", isBrowserPath(slash(resolved)), resolved, slash(resolved))
console.log("WINDOWS DEBUG2", isBrowserPath(slash(resolved)), filename, from,resolved, slash(resolved))
if(isBrowserPath(slash(resolved))) {
return fileURLToPath(new URL('.' + slash(resolved), config.projectRoot));
}
Expand Down

0 comments on commit dcae5a4

Please sign in to comment.