Skip to content

css not loaded after upgrade to beta.48 when run dist build #1703

@sbant

Description

@sbant

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Use Vite >=2.0. (1.x is no longer supported)

Describe the bug

After upgrade to beta.48, dist build missing css.

Reproduction

The generated index.html contains:

  <link rel="stylesheet" href="/assets/index.9ecfcd08.css">
  <link rel="stylesheet" href="/assets/vendor.0f7ea996.css">

look like vendor.css overwrite index.css.

If switch these two lines, the page become right again.

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