Skip to content

Commit 3d752e0

Browse files
authored
chore: add missing __UI_OPTIONS (conventional-changelog#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.
1 parent 7f07a32 commit 3d752e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/webpack.dev.config.babel.js

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default {
3434
__APP_VERSION__: `"${getPackageJson('version')}"`,
3535
}),
3636
new HTMLWebpackPlugin({
37+
__UI_OPTIONS: JSON.stringify({base: '/'}),
3738
title: 'Verdaccio Dev UI',
3839
scope: '',
3940
logo: 'https://verdaccio.org/img/logo/symbol/svg/verdaccio-tiny.svg',

0 commit comments

Comments
 (0)