Update to alpha

This commit is contained in:
Misode
2020-06-20 01:29:38 +02:00
parent 3d63b74ac5
commit cbbe2f6e39
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ import { ErrorsView } from './ErrorsView'
const LOCAL_STORAGE_THEME = 'theme'
const publicPath = process.env.NODE_ENV === 'production' ? '/dev/' : '/';
const publicPath = process.env.NODE_ENV === 'production' ? '/alpha/' : '/';
const modelFromPath = (p: string) => p.split('/').filter(e => e.length !== 0).pop() ?? ''

View File

@@ -5,7 +5,7 @@ module.exports = (env, argv) => ({
entry: './src/app/app.ts',
output: {
path: __dirname + '/dist',
publicPath: argv.mode === 'production' ? '/dev/' : '/',
publicPath: argv.mode === 'production' ? '/alpha/' : '/',
filename: 'js/bundle.js'
},
resolve: {