Vite config with playwright-ct

on the project im working we are using absolute paths so.. ~/folder/to/path And im currently having this error:
[vite]: Rollup failed to resolve import "~/shared/components" from "playwright/index.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
Error: [vite]: Rollup failed to resolve import "~/shared/components" from "playwright/index.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external
[vite]: Rollup failed to resolve import "~/shared/components" from "playwright/index.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
Error: [vite]: Rollup failed to resolve import "~/shared/components" from "playwright/index.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external
` Ive tried going through the simplest steps and following the documentation but so far nothing works when I run the tests. This is my vite config (sorry, too much code) https://pastebin.com/QtAGwZm1 This is my playwright-config: https://pastebin.com/PQ9TyLZD Any tip please?
Pastebin
/// /// impor - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
import { defineConfig, devices } from "@playwright/experimental-ct-...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server