style(projects): update prettier config

This commit is contained in:
Soybean
2022-04-01 14:47:57 +08:00
parent ca2dfa6185
commit df56abe18d
128 changed files with 2237 additions and 2037 deletions

View File

@ -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
};

View File

@ -10,6 +10,6 @@ export function resolvePath(rootPath: string, basePath: string) {
return {
root,
src,
src
};
}

View File

@ -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;