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

270
Vistas
Unknown Word: 0 with webpack 5 Minimizer Plugin

I have an issue where builds suddenly started to break with the following error:

    static/css/main.b77a6a014a5ffc517c02.css from Css Minimizer plugin
    static/css/main.b77a6a014a5ffc517c02.css:2038:26: Unknown word [<no source>:1,0][static/css/main.b77a6a014a5ffc517c02.css:2038,26]

I've done a check to make sure nothing has changed in the webpack [5] config and and packages and they are the same. Not many issues around and most of the point to the order of loaders which seems correct. I've been able to narrow this down to the minification being switched on/off but nothing beyond that. Relevant minification config:

optimization: {
      minimize: isEnvProduction,
      minimizer: [
        new TerserPlugin({
          terserOptions: {
            parse: {
              ecma: 8,
            },
            compress: {
              ecma: 5,
              warnings: false,
              comparisons: false,
              inline: 2,
            },
            mangle: {
              safari10: true,
            },
            keep_classnames: true, //isEnvProductionProfile,
            keep_fnames: isEnvProductionProfile,
            output: {
              ecma: 5,
              comments: false,
              ascii_only: true,
            },
          },
        }),
        new CssMinimizerPlugin(),
      ],
      splitChunks: {
        chunks: "all",
        name: isEnvDevelopment ? "chunkyboi" : false,
      },
      runtimeChunk: {
        name: (entrypoint) => `runtime-${entrypoint.name}`,
      },
    },

The config is effectively just the ejected create-react-app with some minor modifications that were working for a very long time.

Any help would be mucho appreciated!

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