Update the Vitest configuration (#12493)

This commit is contained in:
woxtu 2023-11-29 10:41:11 +09:00 committed by GitHub
parent d5deef5699
commit ea1a2dc8db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,10 +150,14 @@ export function getConfig(): UserConfig {
test: {
environment: 'happy-dom',
deps: {
inline: [
// XXX: misskey-dev/browser-image-resizer has no "type": "module"
'browser-image-resizer',
],
optimizer: {
web: {
include: [
// XXX: misskey-dev/browser-image-resizer has no "type": "module"
'browser-image-resizer',
],
},
},
},
},
};