fix: add libkernel, libweb, and libportal to node resolve de-dup explicitly to prevent import problems

This commit is contained in:
Derrick Hammer 2023-07-03 04:27:55 -04:00
parent 2185f52d34
commit 0fb8d6c73b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 16 additions and 0 deletions

View File

@ -24,6 +24,22 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
"3": ["@semantic-release/npm", { npmPublish: false }],
},
},
rollup: {
plugins: {
"1": [
"@apply @rollup/plugin-node-resolve[default]",
[
{
dedupe: [
"@lumeweb/libkernel",
"@lumeweb/libweb",
"@lumeweb/libportal",
],
},
],
],
},
},
},
};
}