From e7f491ea1c32d1a290739a78477b503fd4c3cf48 Mon Sep 17 00:00:00 2001 From: David Bohn Date: Sat, 6 Nov 2021 16:54:10 +0100 Subject: [PATCH] Update tailwind playground to run with server origin --- packages/playground/tailwind/vite.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/playground/tailwind/vite.config.ts b/packages/playground/tailwind/vite.config.ts index 8d076bee7e2277..46c8a997bdc912 100644 --- a/packages/playground/tailwind/vite.config.ts +++ b/packages/playground/tailwind/vite.config.ts @@ -11,5 +11,10 @@ export default defineConfig({ build: { // to make tests faster minify: false + }, + server: { + // This option caused issues with HMR, + // although it should not affect the build + origin: "http://localhost:8080/", } })