From 4ec1847682ab982d6d246bacf952ed97c6dcabe2 Mon Sep 17 00:00:00 2001 From: MengYX Date: Sat, 7 Dec 2019 14:32:28 +0800 Subject: [PATCH] Change build mode --- .drone.yml | 2 +- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6245be0..f42d296 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,7 @@ steps: - name: build image: node:lts commands: - - npm run build + - npm run build -- --modern - tar -czf dist.tar.gz ./dist/* - name: release diff --git a/vue.config.js b/vue.config.js index f05322a..b18220b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,4 +1,4 @@ module.exports = { publicPath: '', - productionSourceMap: false + productionSourceMap: true }; \ No newline at end of file