Merged in feature/SW-3365-blurry-images (pull request #2746)
Feature/SW-3365 reduce upscaling of images (fix blurry images) * fix: handle when images are wider than 3:2 but rendered in a 3:2 container * use dimensions everywhere applicable * fall back to using <img sizes='auto' /> if possible * imageLoader: never nest * remove empty test file Approved-by: Anton Gunnarsson Approved-by: Matilda Landström
This commit is contained in:
@@ -19,9 +19,14 @@ const browserInstances = isCI
|
||||
export default mergeConfig(
|
||||
viteConfig,
|
||||
defineConfig({
|
||||
// !isCI ?
|
||||
test: {
|
||||
projects: [
|
||||
{
|
||||
test: {
|
||||
name: 'unit',
|
||||
environment: 'jsdom',
|
||||
},
|
||||
},
|
||||
{
|
||||
plugins: [
|
||||
storybookTest({
|
||||
@@ -47,6 +52,5 @@ export default mergeConfig(
|
||||
},
|
||||
],
|
||||
},
|
||||
//: {}, // Netlify CI fails to run playwright tests. Only supported locally for now
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user