fix: change node-resolve config to assume it is an object entry since we rewrite it in the rollup plugin in browser mode

This commit is contained in:
Derrick Hammer 2023-07-03 05:14:05 -04:00
parent 1faacf5966
commit 398be8fede
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 9 additions and 12 deletions

View File

@ -26,18 +26,15 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
},
rollup: {
plugins: {
"1": [
"@apply @rollup/plugin-node-resolve[default]",
[
{
"1": {
"1": {
dedupe: [
"@lumeweb/libkernel",
"@lumeweb/libweb",
"@lumeweb/libportal",
],
},
],
],
},
},
},
},