elado / next-with-less

Next.js + Less CSS Support
MIT License
143 stars 24 forks source link

Syntax error: Selector ":global .xx" is not pure (pure selectors must contain at least one local class or id) #10

Open binary64 opened 2 years ago

binary64 commented 2 years ago

Thank you for taking on the mantle of ant design + nextjs! I'm really excited.

I am getting the following error

Syntax error: Selector ":global .ant-breadcrumb-separator" is not pure (pure selectors must contain at least one local class or id)

  5 |   padding-bottom: 8px;
  6 | }
> 7 | :global .ant-breadcrumb-separator {

How can I specify "local" and "camelCase" for the css/less options? Many thanks in advance