mirror of
https://github.com/SomboChea/ui
synced 2026-01-20 01:55:56 +07:00
feat: browser history is aware of basename (#45)
* feat: browser history is aware of basename * test: fix ui options global object * chore: fix comment
This commit is contained in:
committed by
GitHub
parent
c3eac3d27b
commit
a89f363115
@@ -7,6 +7,7 @@ module.exports = {
|
||||
output: {
|
||||
path: `${env.APP_ROOT}/static/`,
|
||||
filename: '[name].[hash].js',
|
||||
// FIXME: do we need this?
|
||||
publicPath: 'ToReplaceByVerdaccio/-/static',
|
||||
},
|
||||
|
||||
|
||||
@@ -45,7 +45,9 @@ const prodConf = {
|
||||
}),
|
||||
new HTMLWebpackPlugin({
|
||||
title: 'ToReplaceByTitle',
|
||||
__UI_OPTIONS: 'ToReplaceByVerdaccioUI',
|
||||
scope: 'ToReplaceByScope',
|
||||
basename: 'ToReplaceByPrefix',
|
||||
logo: 'ToReplaceByLogo',
|
||||
primary_color: 'ToReplaceByPrimaryColor',
|
||||
filename: 'index.html',
|
||||
|
||||
Reference in New Issue
Block a user