fix: always dedupe primary sdk libraries
This commit is contained in:
parent
fa867eee24
commit
4e9c506490
|
@ -85,7 +85,13 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
|
||||||
},
|
},
|
||||||
minify: false,
|
minify: false,
|
||||||
},
|
},
|
||||||
resolve: {},
|
resolve: {
|
||||||
|
dedupe: [
|
||||||
|
"@lumeweb/libportal",
|
||||||
|
"@lumeweb/libweb",
|
||||||
|
"@lumeweb/libkernel",
|
||||||
|
],
|
||||||
|
},
|
||||||
optimize: {
|
optimize: {
|
||||||
"node-fetch": "export default undefined;",
|
"node-fetch": "export default undefined;",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue