feat(vite): support loading fe assets via cdn
This commit is contained in:
@@ -65,6 +65,12 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
},
|
||||
experimental: {
|
||||
// Support CDN asset paths
|
||||
renderBuiltUrl(filename: string, { hostType }) {
|
||||
return { relative: true };
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user