You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
• clientTo preserve the export signature of the entry module "src\client.js", an empty facade chunk was created. This often happens when creating a bundle for a web app where chunks are placed in script tags and exports are ignored. In this case it is recommended to set "preserveEntrySignatures: false" to avoid this and reduce the number of chunks. Otherwise if this is intentional, set "preserveEntrySignatures: 'strict'" explicitly to silence this warning.
The text was updated successfully, but these errors were encountered:
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)
Trying with Rollup 2 I get this in console:
The text was updated successfully, but these errors were encountered: