Files
ToneAPI_webclient/vue.config.js
T
2023-06-01 10:28:04 +02:00

21 lines
581 B
JavaScript

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
productionSourceMap: process.env.NODE_ENV !== 'production',
transpileDependencies: true,
publicPath: process.env.NODE_ENV === 'production' ? '/ToneAPI_webclient/' : '/',
pages: {
index: {
entry: 'src/main.ts',
template: 'public/index.html',
filename: 'index.html',
title: 'Players : Tone API'
},
server: {
entry: 'src/main.ts',
template: 'public/servers.html',
filename: 'servers.html',
title: 'Servers : Tone API'
}
}
})