mirror of https://github.com/halo-dev/halo-admin
28 lines
481 B
JavaScript
28 lines
481 B
JavaScript
const pkg = require('./package.json')
|
|
|
|
module.exports = {
|
|
publicPath: process.env.PUBLIC_PATH,
|
|
|
|
chainWebpack: config => {
|
|
config.plugin('html').tap(args => {
|
|
args[0].version = pkg.version
|
|
return args
|
|
})
|
|
},
|
|
|
|
css: {
|
|
loaderOptions: {
|
|
less: {
|
|
modifyVars: {
|
|
'border-radius-base': '2px'
|
|
},
|
|
javascriptEnabled: true
|
|
}
|
|
}
|
|
},
|
|
|
|
lintOnSave: false,
|
|
transpileDependencies: [],
|
|
productionSourceMap: false
|
|
}
|