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

169
Vistas
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 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