Skip to content

@font-face declarations are not inlined to <style> tags #840

@vladh

Description

@vladh

Reproduction: https://github.com/vladh/nuxt-duplicate-css-reproduction

entry.css contains:

@font-face{font-family:Work Sans;src:local("Work Sans Regular Italic"),local("Work Sans Italic") …

But this is reached via <link>, whereas the rest of the styles are inlined into <style> tags (notwithstanding nuxt/nuxt#35255).

I would expect the @font-face declarations to be inlined if some or all of the rest of the styles are inlined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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