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

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