mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
5f55d487db
fix #11
21 lines
696 B
JavaScript
21 lines
696 B
JavaScript
const webpack = require('webpack')
|
|
|
|
process.env.VUE_APP_API = process.env.NODE_ENV === 'production' ? process.env.BASE_URL || 'http://localhost:9000' : 'http://localhost:9000'
|
|
process.env.VUE_APP_TITLE = process.env.TITLE || 'Gancio'
|
|
process.env.VUE_APP_DESCRIPTION = process.env.DESCRIPTION || 'Event manager for radical movements'
|
|
|
|
module.exports = {
|
|
publicPath: process.env.BASE_URL,
|
|
configureWebpack: {
|
|
plugins: [
|
|
new webpack.NormalModuleReplacementPlugin(/element-ui[\/\\]lib[\/\\]locale[\/\\]lang[\/\\]zh-CN/, 'element-ui/lib/locale/lang/en')
|
|
]
|
|
},
|
|
devServer: {
|
|
disableHostCheck: true
|
|
},
|
|
transpileDependencies: [
|
|
/\bvue-awesome\b/,
|
|
'vuex-persist'
|
|
]
|
|
}
|