fix prod build

This commit is contained in:
ngxson
2020-08-13 12:24:56 +02:00
parent 5c8b8eee83
commit 10d1aee34a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@
target="_blank"
class="bug-button float-right"
title="Report an issue"
v-if="isBeta"
v-b-tooltip.hover
>
<font-awesome-icon icon="bug" />
+1
View File
@@ -129,6 +129,7 @@ if (config.mode === 'development') {
if (config.mode === 'production') {
config.plugins = (config.plugins || []).concat([
new webpack.DefinePlugin({
'devConfig': 'null',
'process.env': {
'NODE_ENV': '"production"',
'BETA': JSON.stringify(!!process.env.BETA),