Hello! There is a problem. I generate statics for CMS, and after each change, the set of css files changes.
The current settings are:
export default defineConfig({
build: {
format: 'file'
},
vite: {
build: {
rollupOptions: {
output: {
entryFileNames: '_astro/entry.js',
chunkFileNames: '_astro/chunks/chunk.[name].js',
assetFileNames: '_astro/assets/asset.[name][extname]',
},
},
},
},
});
Attached screenshots of the same page collected locally and on the server.
How to avoid it?
#Why can't "npm run build" build the same way?
1 messages · Page 1 of 1 (latest)