Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

190
Vistas
Selector ":global" is not pure error with next js build

I'm migrating my current React project to Next.js. And I am getting an error saying

error - ./styles/base/_base.module.css:3:1
Syntax error: Selector ":global" is not pure (pure selectors must contain at least one local class or id)

These are basically a few global styles that I use almost everywhere in the app plus a few browser resets. So I think it's a good idea to make these styles global. It used to work fine in my React app, but the Next build system is not okay with this. I found a solution on github issues. The build system has stopped complaining after that, but it omits all my global styles now. Not sure what am I missing here.

Here is the link to my next.config.js and _app.js

It's been a long while, but I can't find what am I missing here.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda