From 3cb706e124ee839daa154ffa091a8b51b40812a7 Mon Sep 17 00:00:00 2001 From: Mihovil Ilakovac Date: Wed, 14 Feb 2024 12:43:23 +0100 Subject: [PATCH] Uses string for glob pattern (#1765) --- waspc/src/Wasp/Generator/WebAppGenerator.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waspc/src/Wasp/Generator/WebAppGenerator.hs b/waspc/src/Wasp/Generator/WebAppGenerator.hs index b28705ae6..9a4872708 100644 --- a/waspc/src/Wasp/Generator/WebAppGenerator.hs +++ b/waspc/src/Wasp/Generator/WebAppGenerator.hs @@ -275,7 +275,7 @@ genViteConfig spec = return $ C.mkTmplFdWithData tmplFile tmplData "vitest" .= object [ "setupFilesArray" .= makeJsArrayFromHaskellList vitestSetupFiles, - "excludeWaspArtefactsPattern" .= SP.fromRelFile (dotWaspDirInWaspProjectDir [relfile|**/*|]) + "excludeWaspArtefactsPattern" .= (SP.fromRelDir dotWaspDirInWaspProjectDir ++ "**/*") ] ] vitestSetupFiles =