Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit cb80231

Browse files
Don't hash asset files
1 parent 8cfb861 commit cb80231

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

docs/assets/index.94d7418f.css

-1
This file was deleted.

docs/assets/index.fc1390c0.js

-1
This file was deleted.
File renamed without changes.
File renamed without changes.

docs/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<link rel="icon" type="image/svg+xml" href="/images/favicon.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Cloudy.NET - CMS Toolkit</title>
8-
<script type="module" crossorigin src="/assets/index.12987aba.js"></script>
9-
<link rel="stylesheet" href="/assets/index.8539e65f.css">
8+
<script type="module" crossorigin src="/index.bundle.js"></script>
9+
<link rel="stylesheet" href="/index.css">
1010
</head>
1111
<body>
1212
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-140913146-1"></script>

vite.config.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ export default defineConfig({
66
plugins: [preact()],
77
root: 'src',
88
build: {
9-
outDir: '../docs'
9+
rollupOptions: {
10+
output: {
11+
entryFileNames: '[name].bundle.js',
12+
assetFileNames: '[name].[ext]',
13+
chunkFileNames: '[name].[ext]'
14+
}
15+
},
16+
outDir: '../docs'
1017
}
1118
})

0 commit comments

Comments
 (0)