Skip to content

Commit 04132b9

Browse files
benmccanntaylorzane
authored andcommitted
site: copy preserveEntrySignatures settings from template (sveltejs#5356)
1 parent abe068b commit 04132b9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

site/rollup.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export default {
6363
module: true
6464
})
6565
],
66+
67+
preserveEntrySignatures: false,
6668
onwarn
6769
},
6870

@@ -91,6 +93,8 @@ export default {
9193
require('module').builtinModules || Object.keys(process.binding('natives'))
9294
)
9395
],
96+
97+
preserveEntrySignatures: 'strict',
9498
onwarn
9599
},
96100

@@ -105,6 +109,9 @@ export default {
105109
}),
106110
commonjs(),
107111
!dev && terser()
108-
]
112+
],
113+
114+
preserveEntrySignatures: false,
115+
onwarn
109116
}
110117
};

0 commit comments

Comments
 (0)