From 615e3bbe8a3193f32f91fe1851214c89bf669817 Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Sun, 13 May 2018 23:19:12 +0800 Subject: [PATCH] fix: build site bug --- antd-tools/gulpfile.js | 3 ++- package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/antd-tools/gulpfile.js b/antd-tools/gulpfile.js index 77d4d24b5..cf8754b7c 100644 --- a/antd-tools/gulpfile.js +++ b/antd-tools/gulpfile.js @@ -68,7 +68,8 @@ function dist (done) { } function babelify (js, modules) { - const babelConfig = { ...getBabelCommonConfig(modules), babelrc: false } + const babelConfig = getBabelCommonConfig(modules) + babelConfig.babelrc = false delete babelConfig.cacheDirectory if (modules === false) { babelConfig.plugins.push(replaceLib) diff --git a/package.json b/package.json index 243edf721..ab46d8f22 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "vue-template-compiler": ">=2.5.0" }, "devDependencies": { + "@octokit/rest": "^15.4.1", "@vue/server-test-utils": "^1.0.0-beta.16", "@vue/test-utils": "^1.0.0-beta.16", "autoprefixer": "^8.1.0", @@ -169,4 +170,4 @@ "shallowequal": "^1.0.2", "warning": "^3.0.0" } -} \ No newline at end of file +}