By default, when you make a production build by exporting or publishing your site in eWizard Editor, the filenames are replaced by randomly generated unique names.
For example, after you export a site in eWizard Editor, the name of image1.jpg is replaced with f6194d90-8f03-11ec-96c2-ea6c057b1b2f.jpg.
You can keep the original names of assets with the keepOriginalFilename array in the site settings. Applicable to an original filename for a specific file or all files with a specific file format.
For example, to keep the original name of the image1.jpg file and all pdf files:
// ./settings.json{
"clms": {
"spa": {
"keepOriginalFilename": [
"**/common/media/image1.jpg",
"**/*.pdf",
]
}
}
}The keepOriginalFilename array supports the following formats:
Asset type | File format |
Audio | MP3 |
Video | MP4 |
Document | PDF |
Calendar | ICS |
Text | CSV |
Image | PNG |
Font | TTF |
