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

245
Visualizações
Expose html file from nested folder

i have not worked with Vanilla in a long time so i need a help with this one, problem is that i have admin folder in my directory where i have installed few libraries and i am using parcel for bundling it, currently directory looks like this

admin
   - src
       ...files to be bundled
   - node_modules
   package.json
   .babelrc
   config.yaml
   package-lock.json

and what happens currently is that when i build files i display them in admin's root because i need index.html exposed (which is initially in src folder) and due to that when i rebuild application changed files do not get replaced they just clutter the directory and i have to remove them manually (although it works without removing) so what i want to do is to export built files into dist directory or public whatever you like to call and somehow expose index.html from that folder for browser, is that possible? since CRA does it with placing the index.html into public folder i tried it as well but now i can only access the file by going to admin/public

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