fix: always dedupe primary sdk libraries

This commit is contained in:
Derrick Hammer 2023-07-08 03:57:35 -04:00
parent fa867eee24
commit 4e9c506490
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 7 additions and 1 deletions

View File

@ -85,7 +85,13 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
},
minify: false,
},
resolve: {},
resolve: {
dedupe: [
"@lumeweb/libportal",
"@lumeweb/libweb",
"@lumeweb/libkernel",
],
},
optimize: {
"node-fetch": "export default undefined;",
},