Убрал хэши из нахвания файлов билда
This commit is contained in:
+7
-3
@@ -17,11 +17,15 @@ export default defineConfig(({ mode }) => {
|
||||
build: {
|
||||
// No content hashes in output filenames — cache-busting on redeploy is
|
||||
// handled at the hosting/nginx level instead (see docs/bitrix-integration.md).
|
||||
// Flat layout (no "assets/" subfolder): one deployment target's own
|
||||
// folder is literally named "assets" (local/modules/vniigaz.bpmn/assets/),
|
||||
// and nesting output under another "assets/" there doubled the path
|
||||
// segment (.../assets/assets/index.js, 404). Flat works everywhere.
|
||||
rolldownOptions: {
|
||||
output: {
|
||||
entryFileNames: 'assets/[name].js',
|
||||
chunkFileNames: 'assets/[name].js',
|
||||
assetFileNames: 'assets/[name].[ext]',
|
||||
entryFileNames: '[name].js',
|
||||
chunkFileNames: '[name].js',
|
||||
assetFileNames: '[name].[ext]',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user