perf: no longer need transform prefix (#9588)

* perf: no longer need transform prefix

* chore: upd

* chore: upd
This commit is contained in:
neverland
2021-09-29 17:04:03 +08:00
committed by GitHub
parent ebffeb4cda
commit e8186795b7
4 changed files with 41 additions and 59 deletions

View File

@@ -15,9 +15,6 @@ function findRootDir(dir: string): string {
return findRootDir(parentDir);
}
// Colors
export const GREEN = '#07c160';
// Root paths
export const CWD = process.cwd();
export const ROOT = findRootDir(CWD);
@@ -29,7 +26,6 @@ export const SITE_DIST_DIR = join(ROOT, 'site-dist');
export const VANT_CONFIG_FILE = join(ROOT, 'vant.config.js');
export const PACKAGE_JSON_FILE = join(ROOT, 'package.json');
export const ROOT_POSTCSS_CONFIG_FILE = join(ROOT, 'postcss.config.js');
export const CACHE_DIR = join(ROOT, 'node_modules/.cache');
// Relative paths
export const DIST_DIR = join(__dirname, '../../dist');
@@ -47,7 +43,6 @@ export const SITE_DESKTOP_SHARED_FILE = join(
export const STYLE_DEPS_JSON_FILE = join(DIST_DIR, 'style-deps.json');
// Config files
export const BABEL_CONFIG_FILE = join(CONFIG_DIR, 'babel.config.js');
export const POSTCSS_CONFIG_FILE = join(CONFIG_DIR, 'postcss.config.js');
export const JEST_SETUP_FILE = join(CONFIG_DIR, 'jest.setup.js');
export const JEST_CONFIG_FILE = join(CONFIG_DIR, 'jest.config.js');