This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
html in ssr components are not minified #950
Open
Description
Describe the bug
- run
npm run build
- open
__sapper__/build/server/server.js
- search for
create_ssr_component(($$result
- look at the unminifed html string
Information about your Sapper Installation:
- Sapper version (Please check you can reproduce the issue with the latest release!)
0.27.9 - Svelte version (Please check you can reproduce the issue with the latest release!)
3.12.1
Additional context
I was looking at the source code of returned html in browser (npm run start
, not dev version), and found the html were mostly unminified.