mirror of https://github.com/FreeTubeApp/FreeTube
Set the Vue compiler whitespace option to condense (#3101)
This commit is contained in:
parent
5424122339
commit
15bd1cb958
|
@ -42,6 +42,11 @@ const config = {
|
||||||
{
|
{
|
||||||
test: /\.vue$/,
|
test: /\.vue$/,
|
||||||
loader: 'vue-loader',
|
loader: 'vue-loader',
|
||||||
|
options: {
|
||||||
|
compilerOptions: {
|
||||||
|
whitespace: 'condense',
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
|
|
|
@ -42,7 +42,12 @@ const config = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.vue$/,
|
test: /\.vue$/,
|
||||||
loader: 'vue-loader'
|
loader: 'vue-loader',
|
||||||
|
options: {
|
||||||
|
compilerOptions: {
|
||||||
|
whitespace: 'condense',
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
|
|
|
@ -95,22 +95,22 @@
|
||||||
<span>{{ channelName }}</span>
|
<span>{{ channelName }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
<template v-if="!isLive && !isUpcoming && !isPremium && !hideViews">
|
<template v-if="!isLive && !isUpcoming && !isPremium && !hideViews">
|
||||||
<span class="viewCount">• {{ parsedViewCount }}</span>
|
<span class="viewCount"> • {{ parsedViewCount }} </span>
|
||||||
<span v-if="viewCount === 1">{{ $t("Video.View").toLowerCase() }}</span>
|
<span v-if="viewCount === 1">{{ $t("Video.View").toLowerCase() }}</span>
|
||||||
<span v-else>{{ $t("Video.Views").toLowerCase() }}</span>
|
<span v-else>{{ $t("Video.Views").toLowerCase() }}</span>
|
||||||
</template>
|
</template>
|
||||||
<span
|
<span
|
||||||
v-if="uploadedTime !== '' && !isLive && !inHistory"
|
v-if="uploadedTime !== '' && !isLive && !inHistory"
|
||||||
class="uploadedTime"
|
class="uploadedTime"
|
||||||
>• {{ uploadedTime }}</span>
|
> • {{ uploadedTime }}</span>
|
||||||
<span
|
<span
|
||||||
v-if="inHistory"
|
v-if="inHistory"
|
||||||
class="uploadedTime"
|
class="uploadedTime"
|
||||||
>• {{ publishedText }}</span>
|
> • {{ publishedText }}</span>
|
||||||
<span
|
<span
|
||||||
v-if="isLive && !hideViews"
|
v-if="isLive && !hideViews"
|
||||||
class="viewCount"
|
class="viewCount"
|
||||||
>• {{ parsedViewCount }} {{ $t("Video.Watching").toLowerCase() }}</span>
|
> • {{ parsedViewCount }} {{ $t("Video.Watching").toLowerCase() }}</span>
|
||||||
</div>
|
</div>
|
||||||
<p
|
<p
|
||||||
v-if="listType !== 'grid' && appearance === 'result'"
|
v-if="listType !== 'grid' && appearance === 'result'"
|
||||||
|
|
Loading…
Reference in New Issue