Skip to content
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
@hgl

Description

@hgl

Describe the bug

  1. run npm run build
  2. open __sapper__/build/server/server.js
  3. search for create_ssr_component(($$result
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions