mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 03:58:05 +08:00
fix: build site bug
This commit is contained in:
parent
059b928b09
commit
615e3bbe8a
@ -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)
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user