-
Notifications
You must be signed in to change notification settings - Fork 12
Does not work with @web/test-runner-commands #11
Comments
could you provide a repro ? |
Sure, here https://github.com/Pajn/vite-web-test-runner-commands I created a vanilla project with This isn't specific to |
When rereading I can see that my inital post was a bit messy. Just trying to say the same thing here but hopefully more clearly :)
|
I've hit this as well. It occurs as soon as I add Edit:
It looks like a few other plugins have been updated to ignore these imports (modernweb-dev/web#725, modernweb-dev/web#1079), but I'm not sure where/how this plugin could do the same. |
@web/test-runner-commands
enables more advanced plugins like@web/test-runner-visual-regression
and it integrates with test-runner by importing a file served by the test-runner server and thus must not be handled by Vite. In snowpack this was easily solved by marking it as an externalPackage but I'm not seeing a similar config property for Vite. https://github.com/snowpackjs/snowpack/pull/1737/filesThe logs when trying to use visual regression plugin:
The text was updated successfully, but these errors were encountered: