Skip to content

Commit

Permalink
Fix vite-css-test (#11425)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored Apr 9, 2024
1 parent 421cf56 commit cb7d17d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 1 addition & 5 deletions integration/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ const config: PlaywrightTestConfig = {
testDir: ".",
testMatch: ["**/*-test.ts"],
// TODO: Temporary! Remove from this list as we get each suite passing
testIgnore: [
"**/vite-cloudflare-test.ts",
"**/vite-css-test.ts",
"**/vite-dot-server-test.ts",
],
testIgnore: ["**/vite-cloudflare-test.ts", "**/vite-dot-server-test.ts"],
/* Maximum time one test can run for. */
timeout: process.platform === "win32" ? 60_000 : 30_000,
fullyParallel: true,
Expand Down
7 changes: 6 additions & 1 deletion integration/vite-css-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,12 @@ const VITE_CONFIG = async (port: number) => dedent`
export default {
${await viteConfig.server({ port })}
plugins: [reactRouter(), vanillaExtractPlugin()],
plugins: [
reactRouter(),
vanillaExtractPlugin({
emitCssInSsr: true,
}),
],
}
`;

Expand Down

0 comments on commit cb7d17d

Please sign in to comment.