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