styled-jsx-plugin-postcss icon indicating copy to clipboard operation
styled-jsx-plugin-postcss copied to clipboard

CssSyntaxError: Missed semicolon

Open kufii opened this issue 6 years ago • 0 comments

when I add this plugin I get an error saying Missed semicolon when building my project.

It's a next.js project

this is my .babelrc

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

And my .postcssrc

{
  "plugins": {
    "postcss-preset-env": {
      "browsers": ["last 2 versions", "ie >= 10"],
      "features": {
        "nesting-rules": true,
        "color-mod-function": {
          "unresolved": "warn"
        }
      }
    }
  }
}

Even without loading any postcss plugins I get this error.

kufii avatar Sep 18 '19 23:09 kufii