Change JS, CSS, and other asset filenames during build in vite

By default, the build command in vite always changes the CSS and JS filenames. To have a unique JS and CSS filenames, the following build code can be added in vite.config.ts file. We can also have assetFileNames: `assets/[name].[ext]`. But with this code, the CSS file name is going to be style.css. To update it further,… Continue reading Change JS, CSS, and other asset filenames during build in vite

Published
Categorized as Others

HTTP Response Status Codes

HTTP response status codes can be categorized as follows: Informational It ranges from 100 – 199 and is a provisional response. Eg: 100 – continue, 101 – switching protocols Successful It ranges from 200 – 299 and indicates that the request is successfully processed. Eg: 200 – Ok, 201 – created, 202 – accepted, 204… Continue reading HTTP Response Status Codes

Published
Categorized as Others