Closed frederikhors closed 4 years ago
This breaks now-sapper
because it also removes the intentional export in the server: export default polka()
It can be worked-around by writing module.exports = polka()
Hm I had wondered about that. An extra chunk on the server side probably aren't that big of a deal at all - would it work to make just the server bundle have preserveEntrySignatures: 'strict'
instead?
Just tested 'strict'
and indeed, that works! It seems that the current template is not creating chunks, everything is packed in 1 file. (the value of preserveEntrySignatures doesn't matter)
:+1: Updated in c5bd6f061c80531ecfdd4444457fb6d865f7f34d
Trying with Rollup 2 I get this in console: