fix: add libkernel, libweb, and libportal to node resolve de-dup explicitly to prevent import problems
This commit is contained in:
parent
2185f52d34
commit
0fb8d6c73b
16
src/index.ts
16
src/index.ts
|
@ -24,6 +24,22 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
|
||||||
"3": ["@semantic-release/npm", { npmPublish: false }],
|
"3": ["@semantic-release/npm", { npmPublish: false }],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
rollup: {
|
||||||
|
plugins: {
|
||||||
|
"1": [
|
||||||
|
"@apply @rollup/plugin-node-resolve[default]",
|
||||||
|
[
|
||||||
|
{
|
||||||
|
dedupe: [
|
||||||
|
"@lumeweb/libkernel",
|
||||||
|
"@lumeweb/libweb",
|
||||||
|
"@lumeweb/libportal",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue