perf(cli): simplify babel cache

This commit is contained in:
陈嘉涵
2020-01-10 11:46:30 +08:00
parent 4d86375ac6
commit f4d10df14d
6 changed files with 15 additions and 56 deletions

View File

@@ -1,3 +1,3 @@
const babelConfig = require('./lib/config/babel.config');
module.exports = () => babelConfig();
module.exports = api => babelConfig(api);