fix: build site bug

pull/165/head
tjz 2018-05-13 23:19:12 +08:00
parent e166855e9c
commit fe8351e288
2 changed files with 4 additions and 2 deletions

View File

@ -68,7 +68,8 @@ function dist (done) {
} }
function babelify (js, modules) { function babelify (js, modules) {
const babelConfig = { ...getBabelCommonConfig(modules), babelrc: false } const babelConfig = getBabelCommonConfig(modules)
babelConfig.babelrc = false
delete babelConfig.cacheDirectory delete babelConfig.cacheDirectory
if (modules === false) { if (modules === false) {
babelConfig.plugins.push(replaceLib) babelConfig.plugins.push(replaceLib)

View File

@ -54,6 +54,7 @@
"vue-template-compiler": ">=2.5.0" "vue-template-compiler": ">=2.5.0"
}, },
"devDependencies": { "devDependencies": {
"@octokit/rest": "^15.4.1",
"@vue/server-test-utils": "^1.0.0-beta.16", "@vue/server-test-utils": "^1.0.0-beta.16",
"@vue/test-utils": "^1.0.0-beta.16", "@vue/test-utils": "^1.0.0-beta.16",
"autoprefixer": "^8.1.0", "autoprefixer": "^8.1.0",
@ -169,4 +170,4 @@
"shallowequal": "^1.0.2", "shallowequal": "^1.0.2",
"warning": "^3.0.0" "warning": "^3.0.0"
} }
} }