Skip to content

Commit

Permalink
fix: resolution error on Windows (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyco130 committed Mar 5, 2022
1 parent b9dce60 commit 3194ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 36 deletions.
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

9 changes: 3 additions & 6 deletions packages/cli/src/lib/vite-plugin.ts
Expand Up @@ -198,10 +198,7 @@ export async function rakkasVitePlugin(
return result;
} else if (id === indexHtmlPath) {
return normalizedIndexHtmlPath;
} else if (
id === "virtual:rakkasjs:start-client.js" &&
importer === normalizedIndexHtmlPath
) {
} else if (id === "virtual:rakkasjs:start-client.js") {
return "virtual:rakkasjs:start-client.js";
} else if (id === "virtual:rakkasjs:client-hooks") {
const userVersion = await this.resolve(
Expand Down Expand Up @@ -341,10 +338,10 @@ export async function rakkasVitePlugin(
},
},

...reactPlugin({
...(reactPlugin({
exclude: [PAGES.slice(1), LAYOUTS.slice(1)],
babel,
}),
}) as any),
];
}

Expand Down

0 comments on commit 3194ac6

Please sign in to comment.