Skip to content

Generated static files are not optimized #568

@yangshun

Description

@yangshun

Is this a bug report?

No

Have you read the Contributing Guidelines on issues?

Yes

Proposal

The generated static files in the build directory upon running yarn build are not minified, which can cause longer load times. Ideally, Docusaurus should have an asset minification pipeline that:

  • Minifies HTML
  • Minifies CSS
  • Optimizes image size

Metadata

Metadata

Assignees

No one assigned

    Labels

    better engineeringNot a bug or feature requestdifficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.help wantedAsking for outside help and/or contributions to this particular issue or PR.status: claimedIssue has been claimed by a contributor who plans to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions