feat(cli): support config site publicPath and outputDir

This commit is contained in:
陈嘉涵
2019-11-29 15:23:40 +08:00
parent d44258c3c4
commit f1310ff01b
9 changed files with 26 additions and 19 deletions
-1
View File
@@ -76,7 +76,6 @@ export function pascalize(str: string): string {
export function getWebpackConfig(): object {
if (existsSync(WEBPACK_CONFIG_FILE)) {
// eslint-disable-next-line
const config = require(WEBPACK_CONFIG_FILE);
if (typeof config === 'function') {