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

353
Visualizações
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 à 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