feat(vite): support loading fe assets via cdn

This commit is contained in:
Jack Westbrook
2025-03-03 09:43:30 +01:00
parent e56168fdff
commit 06d4038d4f
+6
View File
@@ -65,6 +65,12 @@ export default defineConfig({
},
],
},
experimental: {
// Support CDN asset paths
renderBuiltUrl(filename: string, { hostType }) {
return { relative: true };
},
},
});
/**