serve icon indicating copy to clipboard operation
serve copied to clipboard

serve a folder at /build/static/ressources

Open BobLamarley opened this issue 5 years ago • 0 comments

I'm currently having special folder in build/static/ressources/monext but if i want to access them while serving my static website with serve i have to use serve build instead of serve -s build in order to access and display html files at build/static/ressources/monext/*, the problem by using serve build who fix my first problem create another one that this is serve who respond when an url isn't found with his 404 page, and not my default route So i've installer serve-handler in order to do a config with serve.json that i placed in public/static/serve.json, when i build my project this serve.json go to public/static/serve.json Here is his content : image And here is my arborescence : image This is the commande i'm launching : image When i'm checking my files served via the network inspector of my navigator, i have no ressources folder :( image What i'm missing ?

BobLamarley avatar Jun 04 '19 12:06 BobLamarley