Přesun vue (zatím) do treenodů

This commit is contained in:
Jonas Havelka 2024-11-01 13:20:28 +01:00
parent eb6eb2d6fb
commit 9ca5967261
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ set -exuo pipefail
. make/lib.sh . make/lib.sh
scp vue_frontend/webpack-stats.json "$GIMLI_LOGIN:$TESTWEB/vue_frontend/" scp vue_frontend/webpack-stats.json "$GIMLI_LOGIN:$TESTWEB/vue_frontend/"
rsync -ave ssh seminar/static/seminar/vue "$GIMLI_LOGIN:$TESTWEB/seminar/static/seminar/" rsync -ave ssh treenode/static/treenode/vue "$GIMLI_LOGIN:$TESTWEB/treenode/static/treenode/"
ssh "$GIMLI_LOGIN" " ssh "$GIMLI_LOGIN" "
set -euxo pipefail set -euxo pipefail
cd $TESTWEB cd $TESTWEB

View file

@ -17,9 +17,9 @@ module.exports = {
filenameHashing: false, filenameHashing: false,
productionSourceMap: true, productionSourceMap: true,
publicPath: process.env.NODE_ENV === 'production' publicPath: process.env.NODE_ENV === 'production'
? '/static/seminar/vue/' ? '/static/treenode/vue/'
: 'http://localhost:8080/', : 'http://localhost:8080/',
outputDir: '../seminar/static/seminar/vue/', outputDir: '../treenode/static/treenode/vue/',
chainWebpack: config => { chainWebpack: config => {