update docs
This commit is contained in:
@@ -7,19 +7,13 @@ function resolve (dir) {
|
||||
process.env.VUE_APP_VXE_TABLE_ENV = 'development'
|
||||
|
||||
module.exports = {
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '/vxe-table/v4/' : '/',
|
||||
outputDir: 'docs',
|
||||
assetsDir: 'static',
|
||||
productionSourceMap: false,
|
||||
pages: {
|
||||
index: {
|
||||
entry: 'examples/main.ts',
|
||||
template: 'public/index.html',
|
||||
filename: 'index.html',
|
||||
title: 'vxe-table 4.0+ (Latest)'
|
||||
filename: 'index.html'
|
||||
}
|
||||
},
|
||||
transpileDependencies: ['highlight.js'],
|
||||
configureWebpack: {
|
||||
performance: {
|
||||
hints: false
|
||||
@@ -50,28 +44,6 @@ module.exports = {
|
||||
'xe-utils': XEUtils
|
||||
})
|
||||
}
|
||||
} else {
|
||||
if (config.has('externals')) {
|
||||
config.externals
|
||||
.set('xlsx', 'XLSX')
|
||||
.set('exceljs', 'ExcelJS')
|
||||
.set('jspdf', 'jspdf')
|
||||
.set('jsbarcode', 'JsBarcode')
|
||||
.set('qrcode', 'QRCode')
|
||||
.set('dayjs', 'dayjs')
|
||||
.set('sortablejs', 'Sortable')
|
||||
} else {
|
||||
config
|
||||
.set('externals', {
|
||||
'xlsx': 'XLSX',
|
||||
'exceljs': 'ExcelJS',
|
||||
'jspdf': 'jspdf',
|
||||
'jsbarcode': 'JsBarcode',
|
||||
'qrcode': 'QRCode',
|
||||
'dayjs': 'dayjs',
|
||||
'sortablejs': 'Sortable'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user