Skip to content

CssSyntaxError: Missed semicolon #30

@kufii

Description

@kufii

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.

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