We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44b5c0 commit 4c15953Copy full SHA for 4c15953
svelte.config.js
@@ -40,6 +40,10 @@ const config = {
40
$css: './src/app.css',
41
'$posts/*': '.velite/*'
42
},
43
+ version: {
44
+ name: process.env.PUBLIC_COMMIT_HASH ?? undefined,
45
+ pollInterval: 1000 * 60 // 1 minute
46
+ }
47
48
// Only way I found to hide warnings from node_modules that doesn't break everything
49
// vitePlugin: { exclude: ['**/node_modules/**'] } doesn't work
0 commit comments