mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
style(projects): update prettier config
This commit is contained in:
@ -4,5 +4,5 @@ import dayjs from 'dayjs';
|
||||
const PROJECT_BUILD_TIME = JSON.stringify(dayjs().format('YYYY-MM-DD HH:mm:ss'));
|
||||
|
||||
export const viteDefine = {
|
||||
PROJECT_BUILD_TIME,
|
||||
PROJECT_BUILD_TIME
|
||||
};
|
||||
|
@ -10,6 +10,6 @@ export function resolvePath(rootPath: string, basePath: string) {
|
||||
|
||||
return {
|
||||
root,
|
||||
src,
|
||||
src
|
||||
};
|
||||
}
|
||||
|
@ -15,8 +15,8 @@ export function createViteProxy(viteEnv: ImportMetaEnv) {
|
||||
[http.proxy]: {
|
||||
target: http.url,
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(new RegExp(`^${http.proxy}`), ''),
|
||||
},
|
||||
rewrite: path => path.replace(new RegExp(`^${http.proxy}`), '')
|
||||
}
|
||||
};
|
||||
|
||||
return proxy;
|
||||
|
Reference in New Issue
Block a user