VueTorrent/vue.config.js

29 lines
663 B
JavaScript
Raw Normal View History

2020-09-12 19:51:17 +02:00
const webpack = require('webpack')
2019-12-09 14:20:09 +01:00
module.exports = {
2020-05-20 18:42:17 +02:00
outputDir: 'vuetorrent/public',
2020-05-20 09:59:12 +02:00
publicPath: './',
transpileDependencies: ['vuetify'],
configureWebpack: {
2020-09-12 19:51:17 +02:00
devtool: 'source-map',
plugins: [
new webpack.DefinePlugin({
APPLICATION_VERSION: JSON.stringify(
require('./package.json').version
)
})
]
},
2020-05-20 09:59:12 +02:00
devServer: {
watchOptions: {
poll: true
},
host: 'localhost',
2020-05-20 09:59:12 +02:00
port: 8000,
proxy: {
'/api': {
target: 'http://127.0.0.1:8080'
}
}
}
2019-12-09 14:20:09 +01:00
}