summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commons/vue.js
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-09-04 21:22:59 +0530
committerkushalpandya <kushal@gitlab.com>2017-09-05 13:11:20 +0530
commit29990051f31fcf252f14a04f8461936d62ac7f21 (patch)
tree85e0a3610577c6fbcac7a40b6f59f0678371548c /app/assets/javascripts/commons/vue.js
parentfe450764c587987d5d40f22291b8e09baad4f3b1 (diff)
downloadgitlab-ce-29990051f31fcf252f14a04f8461936d62ac7f21.tar.gz
Move `common_vue` into vendor bundle
Diffstat (limited to 'app/assets/javascripts/commons/vue.js')
-rw-r--r--app/assets/javascripts/commons/vue.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/commons/vue.js b/app/assets/javascripts/commons/vue.js
new file mode 100644
index 00000000000..8b62d78c043
--- /dev/null
+++ b/app/assets/javascripts/commons/vue.js
@@ -0,0 +1,5 @@
+import Vue from 'vue';
+
+if (process.env.NODE_ENV !== 'production') {
+ Vue.config.productionTip = false;
+}