styled-jsx-plugin-postcss-v2

1.0.1 • Public • Published

Usage

Install this package first.

npm install --save styled-jsx-plugin-postcss-v2

Next, add styled-jsx-plugin-postcss-v2 to the styled-jsx's plugins in your babel configuration:

{
  "plugins": [
    ["styled-jsx/babel", { "plugins": ["styled-jsx-plugin-postcss-v2"] }]
  ]
}

With config:

{
  "plugins": [
    ["styled-jsx/babel", {
      "plugins": [
        [
          "styled-jsx-plugin-postcss-v2",
          {
            "path":
              "[PATH_PREFIX]/postcss.config.js"
          }
        ]
      ] 
    }]
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i styled-jsx-plugin-postcss-v2

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

6.53 kB

Total Files

8

Last publish

Collaborators

  • imdr