Version: 2.0.0-beta.02.0.0-beta.12.0.0-beta.22.0.0-beta.32.0.0-beta.42.0.0-beta.52.0.0-beta.62.0.0-beta.72.0.0-rc2.0.0-rc.12.0.02.0.1-alpha.02.0.12.0.22.0.32.0.42.0.52.0.62.1.02.1.12.2.02.3.0-beta.02.3.02.3.12.3.22.3.32.4.02.4.12.5.02.6.02.6.12.7.02.7.12.7.22.7.32.7.42.8.0-beta.02.8.0-beta.12.8.0-beta.22.8.02.9.02.9.12.9.22.10.02.11.0-nsr.02.11.02.12.0-beta2.12.0-dev.02.12.0-dev.12.12.0-dev.22.12.0-dev.32.12.02.13.0-beta2.13.02.13.22.14.0-beta.02.14.0-beta.12.14.0-beta.22.14.0-beta.32.15.02.15.12.15.32.15.42.15.53.0.03.0.13.1.0-beta.03.1.03.1.13.1.23.1.33.1.43.1.53.2.03.2.13.3.13.3.23.3.33.4.03.4.13.4.23.4.33.4.43.4.53.4.63.4.73.4.83.4.9-bate.13.4.9-bate.23.4.9-bate.33.4.9-bate.43.4.9-bate.53.4.93.4.10-beta.13.4.10-beta.23.4.10-beta.33.4.10-beta.43.4.10-beta.53.4.10-beta.63.4.10-beta.73.4.10-beta.83.4.103.4.113.4.12-beta.13.4.12-beta.23.4.12-beta.33.4.123.4.133.4.14-beta.13.4.14-beta.23.4.143.4.15-beta.13.4.153.4.163.4.173.4.18-beta.13.4.183.4.19-beta.13.4.19-beta.23.4.19-beta.33.4.193.4.20-beta.13.4.203.4.21-beta.13.4.21-beta.23.4.21-beta.33.4.213.4.223.4.23-beta.13.4.23-beta.23.4.233.4.24-beta.13.4.243.4.253.4.26-03.4.26-13.4.26-23.4.26-33.4.26-43.4.26-beta.13.4.263.4.27-beta.13.4.273.4.28-03.4.28-beta.13.4.28-beta.23.4.283.4.29-03.4.293.4.30-03.4.313.4.32-03.4.323.4.33-beta.13.4.333.4.34-13.4.343.4.35-03.4.36-03.4.36-13.4.363.4.37-13.4.37-23.4.373.4.38-33.4.38-beta.23.4.38
'use strict'
module.exports = {
hash: {
main: true,
chunk: true
},
globalEnv: {},
// 预渲染页面,直出首屏模板,依赖 Puppeteer
prerender: false,
publicPath: {
// 考虑到 hybrid 离线包,默认使用相对路径
default: './'
sourceMap: false,
tsImportLibs: [],
// 编译配置
compiler: {
// 提取 css 到额外的文件
cssExtract: true,
// 多版本依赖检测
checkDuplicatePackage: true,
// 默认启用 runtime,仅允许 vue 文件内的模板
vueRuntimeOnly: true,
// @TODO 移除 console
dropConsole: false,
// 分离 initial chunk
splitChunks: true,
// 分离 SNC
splitSNC: false
webpackPluginsHandler: (command, webpackConf) => webpackConf,
proxyTable: {},
babelPlugins: [],
ciConfig: {
privateToken: '',
// hb config name
zip_config_name: 'sina_news'
// 通知 babel 编译 node_module 里额外的模块
esm: ['@mfelibs'],
// 打包 dll
vendor: [],
devServer: {
open: true,
port: 3022,
https: false,
proxy: {}
ftp: {
host: '', // 主机
port: 0,
user: '',
password: '',
reload: true, // 刷新缓存
openBrowser: true, // 上传完毕后自动打开浏览器
remotePath: {
version: false
hybridPublish: true, // dev 环境 hybrid 资源包发布
hybridAutoVersion: true // dev 环境自动更新版本号
// hybrid 项目配置,存在此属性时,将会生成 zip 包
// 默认保持缺省,dev deploy 做存在验证
hybrid: undefined,
// tinypng keys
// https://tinypng.com/developers
tinifyKeys: [],
marax: {
// bar 状态条,text 详细信息
progress: 'text',
inspire: false
}