mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-05 20:26:43 +02:00
🛠 refactor: rename chunks
Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
This commit is contained in:
@@ -32,7 +32,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
entryFileNames: 'script.js',
|
entryFileNames: 'script.js',
|
||||||
chunkFileNames: 'chunk-[name]-[hash].js',
|
chunkFileNames: '[name].js',
|
||||||
assetFileNames: ({ name }) => {
|
assetFileNames: ({ name }) => {
|
||||||
if (name && name.endsWith('.css')) {
|
if (name && name.endsWith('.css')) {
|
||||||
return 'style.css';
|
return 'style.css';
|
||||||
|
Reference in New Issue
Block a user