Skip to content

Commit cb7d17d

Browse files
Fix vite-css-test (remix-run#11425)
1 parent 421cf56 commit cb7d17d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

integration/playwright.config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ const config: PlaywrightTestConfig = {
55
testDir: ".",
66
testMatch: ["**/*-test.ts"],
77
// TODO: Temporary! Remove from this list as we get each suite passing
8-
testIgnore: [
9-
"**/vite-cloudflare-test.ts",
10-
"**/vite-css-test.ts",
11-
"**/vite-dot-server-test.ts",
12-
],
8+
testIgnore: ["**/vite-cloudflare-test.ts", "**/vite-dot-server-test.ts"],
139
/* Maximum time one test can run for. */
1410
timeout: process.platform === "win32" ? 60_000 : 30_000,
1511
fullyParallel: true,

integration/vite-css-test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,12 @@ const VITE_CONFIG = async (port: number) => dedent`
156156
157157
export default {
158158
${await viteConfig.server({ port })}
159-
plugins: [reactRouter(), vanillaExtractPlugin()],
159+
plugins: [
160+
reactRouter(),
161+
vanillaExtractPlugin({
162+
emitCssInSsr: true,
163+
}),
164+
],
160165
}
161166
`;
162167

0 commit comments

Comments
 (0)