Output directory after vite build #16327
Replies: 1 comment 4 replies
-
In About other files, you can store it in your Dev:
After bundling:
Or maybe, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, esteemed community,
I'm trying out Vite for the first time and I want the output directory of my static web to look exactly like this below after running vite build
Root
│ .htaccess
│ index.html
│
├───about
│ index.html
│
├───assets
│ ├───css
│ ├───fonts
│ ├───images
│ │ ├───background
│ │ ├───fav-icons
│ │ ├───projects
│ │ └───slider
│ ├───js
│ ├───php
│ └───plugins
├───contact
│ index.html
│
├───error
│ index.html
│
└───services
index.html
I understand that vite will do some file name hashing and rebasing some URL but this is how I want my output directory to look with all assets referenced as is in my HTML.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions