Skip to content

Importing a node module with a CSS entry point no longer works #132

Closed
@intrnl

Description

Describe the bug

Importing a package like modern-normalize now no longer works without suffixing ?import manually

Suffixing ?import treats the module as external in production builds.

image
image
image

System Info

  • vite version: 0.14.3
  • Operating System: Arch Linux
  • Node version: 14.2.0

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions