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

168
Visualizações
How to build a stateful Webpack loader?

I am trying to build a Webpack loader for Gleam language that compiles to JavaScript. Since, gleam has a standalone compiler and compilation unit is entire package as opposed to file-based system of Webpack, I need to maintain the state to avoid the repetitive compilation of the gleam source code.

But, Webpack documentation recommends that loaders should be stateless. Without maintaining the state, it is impossible to keep track of mapping of compiled files and their source gleam files. I also did not find any such documentation about this on Webpack docs.

So, how can I achieve this? Is there some other Webpack process-level API that can be utilized to achieve this?

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