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

349
Vistas
How to build unhashed files in a 'dist/' folder with ParcelJS (v2)

I'm trying to bundle some scss and js files into a dist/main.css and a dist/main.js file using Parcel (v2). I don't want any hashes within the file names (just main.css but not main.182e5d44.css and main.js instead of main.3dcf9355.js).

If I use a simple html file as an entry

parcel build --no-content-hash main.html

Parcel returns all files inside the dist/ directory but uses hashes within the file names.

dist/main.html            219 B    748ms
dist/main.9844a242.css     89 B    853ms
dist/main.b59b001f.js      61 B    599ms

If I use the scss and the js file as entry points

parcel build --no-content-hash assets/scss/main.scss assets/js/main.js

it doesn't creates hashes of course but puts the files into subdirectories

dist/scss/main.css    62 B    890ms
dist/js/main.js       34 B    575ms.

What's the build command to achieve my desired output:

dist/main.css
dist/main.js
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