We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d54b237 commit dcbec14Copy full SHA for dcbec14
packages/start-nitro-v2-vite-plugin/src/index.ts
@@ -84,6 +84,13 @@ export function nitroV2Plugin(nitroConfig?: UserNitroConfig): PluginOption {
84
},
85
...nitroConfig,
86
dev: false,
87
+ routeRules: {
88
+ "/_build/assets/**": {
89
+ headers: {
90
+ "cache-control": "public, immutable, max-age=31536000",
91
+ },
92
93
94
publicAssets: [
95
{
96
dir: client.config.build.outDir,
0 commit comments