chore: update site config

This commit is contained in:
陈嘉涵 2020-01-11 08:09:13 +08:00
parent e18e36d95a
commit 0b5d0bd74d
5 changed files with 4 additions and 12 deletions

View File

@ -57,7 +57,7 @@ export const siteDevBaseConfig = merge(baseConfig as any, {
}
},
output: {
chunkFilename: 'async_[name].js'
chunkFilename: '[name].js'
},
optimization: {
splitChunks: {

View File

@ -110,7 +110,7 @@ export default {
toggleAll: '全选与反选',
checkAll: '全选',
inverse: '反选',
disabledLabelClick: '禁用复选框文本点击'
disabledLabelClick: '禁用文本点击'
},
'en-US': {
checkbox: 'Checkbox',

View File

@ -86,7 +86,7 @@ export default {
customColor: '自定义颜色',
customShape: '自定义形状',
withCell: '与 Cell 组件一起使用',
disabledLabelClick: '禁用单选框文本点击'
disabledLabelClick: '禁用文本点击'
},
'en-US': {
radio: 'Radio',

View File

@ -289,8 +289,6 @@ exports[`renders demo correctly 1`] = `
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 6<!----></span></div>
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 7<!----></span></div>
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 8<!----></span></div>
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 9<!----></span></div>
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 10<!----></span></div>
<div class="van-tabs__line" style="width: 0px; transform: translateX(0px) translateX(-50%);"></div>
</div>
</div>
@ -321,12 +319,6 @@ exports[`renders demo correctly 1`] = `
<div role="tabpanel" class="van-tab__pane">
内容 8
</div>
<div role="tabpanel" class="van-tab__pane">
内容 9
</div>
<div role="tabpanel" class="van-tab__pane">
内容 10
</div>
</div>
</div>
</div>

View File

@ -10,7 +10,7 @@ module.exports = {
}
},
site: {
defaultLang: 'zh-CN',
defaultLang: 'en-US',
versions: [
{ label: '1.x', link: 'https://youzan.github.io/vant/1.x/' }
],