Skip to content

embroider / vite: annoying CSS error now appears #200

@eflanagan0

Description

@eflanagan0

As a developer, I like to address errors and warnings printed by build tools.

I maintain a project and recently upgraded to embroider/vite builds
Now, upon building I see the following error:

rendering chunks (4)...[esbuild css minify]
▲ [WARNING] Expected identifier but found "*" [css-syntax-error]

    <stdin>:444:2:
      444 │   *zoom: 1;
          ╵   ^

error cause and fix

I found that line comes from:

.ember-notify-cn .clearfix {
*zoom: 1;
}

The CSS clearfix hack is quite old. I think those lines should be removed to fix it.

Metadata

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