Skip to content

bug(webpack-extraction-plugin): the loader emits empty CSS files #406

@layershifter

Description

@layershifter

The snippet below:

import { makeStyles } from '@griffel/react'

const useClasses = makeStyles({
  root: {}
})

Will trigger the extraction plugin and emit an empty CSS file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions