fix: never minify classes

This commit is contained in:
Jean-Baptiste Pasquier 2021-01-26 18:46:26 +01:00
parent a936a343b5
commit 8db68ec680
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ const options = {
cache: process.env.NODE_ENV !== 'production',
cacheDir: '.cache',
contentHash: false,
minify: process.env.NODE_ENV === 'production',
minify: false,
scopeHoist: false,
target: 'browser',
bundleNodeModules: false,

View File

@ -10,8 +10,8 @@ solid-widget(name='hubl-menu-jabberid')
solid-widget(name='hubl-menu-publicprivate')
template
div.text-simple-line-icons(
class="${value == 'Public' ? 'text-large': 'text-xsmall'}"
div(
class="${value == 'Public' ? 'text-simple-line-icons text-large': 'text-simple-line-icons text-xsmall'}"
) ${value == 'Public' ? '#' : ''}
solid-widget(name='hubl-create-contact')