diff --git a/src/index.ts b/src/index.ts index ca5e5d0..ecf44cf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -85,7 +85,13 @@ export default async function (context: PresetContext): Promise { }, minify: false, }, - resolve: {}, + resolve: { + dedupe: [ + "@lumeweb/libportal", + "@lumeweb/libweb", + "@lumeweb/libkernel", + ], + }, optimize: { "node-fetch": "export default undefined;", },