From 8e6f061dd2343bcb71951d0110336d6041b85abf Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Tue, 5 Jan 2021 04:08:45 +0000 Subject: [PATCH] Build changes --- .drone.yml | 2 -- vue.config.js | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 vue.config.js diff --git a/.drone.yml b/.drone.yml index e3d2c40..d063baa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,8 +5,6 @@ name: deploy steps: - name: build image: node:lts - environment: - NODE_ENV: production commands: - npm install - npm run build diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..d6d99d9 --- /dev/null +++ b/vue.config.js @@ -0,0 +1,11 @@ +module.exports = { + productionSourceMap: false, + configureWebpack: { + optimization: { + splitChunks: { + minSize: 10000, + maxSize: 250000 + } + } + } +}