Update the Vitest configuration (#12493)
This commit is contained in:
parent
d5deef5699
commit
ea1a2dc8db
1 changed files with 8 additions and 4 deletions
|
@ -150,10 +150,14 @@ export function getConfig(): UserConfig {
|
||||||
test: {
|
test: {
|
||||||
environment: 'happy-dom',
|
environment: 'happy-dom',
|
||||||
deps: {
|
deps: {
|
||||||
inline: [
|
optimizer: {
|
||||||
// XXX: misskey-dev/browser-image-resizer has no "type": "module"
|
web: {
|
||||||
'browser-image-resizer',
|
include: [
|
||||||
],
|
// XXX: misskey-dev/browser-image-resizer has no "type": "module"
|
||||||
|
'browser-image-resizer',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue