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

138
Visualizações
ParcelJS build with goCD pipeline

Im having issues getting a parceljs production build to pass successfully on goCd pipeline.

In the package.json I have this:

"scripts": {
    "dev": "parcel src/index.html",
    "production": "parcel build src/index.html --no-source-maps"
 },

If I run npm run production locally, it seems to build fine (except for a warning) with the following output:

dist/index.html                 380 B    435ms
dist/index.6e3474c2.js    ⚠️  1.01 MB    9.94s

Now on goCd, we have a PR pipeline which does a npm install and a npm run production. This is the output:

Building...
Bundling...
Packaging & Optimizing...
✨ Built in 46.93s

dist/index.html                 380 B    25.91s
dist/index.c65c67b3.js    ⚠️  1.02 MB    25.82s
78
[go] Task status: failed, took: 50.325s, exited: 139
[go] Task status: passed, took: 0.973s
[go] Current job status: failed 

So as you can see, the task to bundle and package seems to have gone successfully but goCD has failed the job.

My first query is what causes the ParcelJS warning? Is it the fact that index.js is over 1mb? I can't seem to find any documentation on it...

Second is whether the goCd failure could have resulted because the warning is present? However, I can't seem to find anything in the docs to suggest this: https://docs.gocd.org/21.1.0/advanced_usage/dev_conditional_task_execution.html

Thanks

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