1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-24 06:54:27 +07:00

chore: add missing __UI_OPTIONS (#53)

this object will replace the other variables, it is more easy to scale adding new properties.
I'll extend the info in a future documents about plugins.
This commit is contained in:
Juan Picado @jotadeveloper 2019-05-09 21:55:02 +02:00 committed by GitHub
parent 7f07a322f4
commit 3d752e079c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ export default {
__APP_VERSION__: `"${getPackageJson('version')}"`,
}),
new HTMLWebpackPlugin({
__UI_OPTIONS: JSON.stringify({base: '/'}),
title: 'Verdaccio Dev UI',
scope: '',
logo: 'https://verdaccio.org/img/logo/symbol/svg/verdaccio-tiny.svg',