From 8226c34457ffe825abbe4c4afd17182a459c8b06 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Thu, 18 Apr 2019 11:23:43 +0800 Subject: [PATCH] Remove sourceMap when production build. --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index c9038d24..b10ecc13 100644 --- a/vue.config.js +++ b/vue.config.js @@ -121,5 +121,6 @@ module.exports = { lintOnSave: undefined, // babel-loader no-ignore node_modules/* - transpileDependencies: [] + transpileDependencies: [], + productionSourceMap: false }