mirror of https://github.com/halo-dev/halo-admin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
549 B
29 lines
549 B
const pkg = require('./package.json') |
|
|
|
const { defineConfig } = require('@vue/cli-service') |
|
|
|
module.exports = defineConfig({ |
|
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 |
|
})
|
|
|