Skip to content

Empty styles #92

Open
Open
@kevinehosford

Description

@kevinehosford

This plugin seems like the tool I need, but the output always seems to be empty.

var styles = {} // this is always empty

Could this be an issue with the .babelrc?

{
  "presets": [
    "es2015",
    "stage-0",
    "react"
  ],
  "plugins": [
    [
      "css-modules-transform", {
        "camelCase": true,
        "extractCss": "./build/styles/app.css",
        "generateScopedName": "[name]__[local]___[hash:base64:5]",
        "prepend": [
          "postcss-cssnext",
          "postcss-extend",
          "postcss-import"
        ]
      }
    ]
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions