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:
parent
1faacf5966
commit
398be8fede
|
@ -26,18 +26,15 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
|
||||||
},
|
},
|
||||||
rollup: {
|
rollup: {
|
||||||
plugins: {
|
plugins: {
|
||||||
"1": [
|
"1": {
|
||||||
"@apply @rollup/plugin-node-resolve[default]",
|
"1": {
|
||||||
[
|
|
||||||
{
|
|
||||||
dedupe: [
|
dedupe: [
|
||||||
"@lumeweb/libkernel",
|
"@lumeweb/libkernel",
|
||||||
"@lumeweb/libweb",
|
"@lumeweb/libweb",
|
||||||
"@lumeweb/libportal",
|
"@lumeweb/libportal",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
},
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue