mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-30 01:32:44 +00:00
Update to alpha
This commit is contained in:
@@ -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() ?? ''
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user