build(#10336): load locales and vite config
This commit is contained in:
parent
91e0e498eb
commit
0dcb99df19
441 changed files with 1365 additions and 15 deletions
|
|
@ -38,7 +38,7 @@ function toBase62(n: number): string {
|
|||
return result;
|
||||
}
|
||||
|
||||
export default defineConfig(({ command, mode }) => {
|
||||
export function getConfig() {
|
||||
return {
|
||||
base: '/vite/',
|
||||
|
||||
|
|
@ -122,4 +122,8 @@ export default defineConfig(({ command, mode }) => {
|
|||
},
|
||||
},
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
const config = defineConfig(({ command, mode }) => getConfig());
|
||||
|
||||
export default config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue