Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

271
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda