Skip to content

Compress with gzip on npm run start #11658

@nukkamoto

Description

@nukkamoto

Is your proposal related to a problem?

It's annoying having to deploy and check whether your improvements have worked or not, we can't get the localhost server to verify if lighthouse in devtools passes to a reasonable score.

Describe the solution you'd like

Whilst developing and fixing issues with lighthouse in devtools, it would be nice, on localhost we can provide an argument npm run start --compress=true so locahost serves compress gzipped CSS and JS etc.

This will prevent me from finding workarounds and increase my productivity tremendously.

Alternatively a flag on the package.json can also be an option, but I prefer the cli option, as it can be optionally added on cli npm start --compressed this way I can use it on the fly only when I need to and not always active/inactive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions