From 82eb082ebc67fcd029395d97e8ac02ef831cb8fc Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Tue, 17 Mar 2020 18:58:17 +0800 Subject: [PATCH] fix(qa): output,optimization --- packages/uni-quickapp/lib/configure-webpack.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/uni-quickapp/lib/configure-webpack.js b/packages/uni-quickapp/lib/configure-webpack.js index edeb9e229c..4b92f72b45 100644 --- a/packages/uni-quickapp/lib/configure-webpack.js +++ b/packages/uni-quickapp/lib/configure-webpack.js @@ -43,6 +43,14 @@ module.exports = { devtool: false, entry() { return process.UNI_ENTRY + }, + output: { + filename: '[name].js', + chunkFilename: '[name].js' + }, + optimization: { + splitChunks: false, + runtimeChunk: false }, externals: { vue: 'Vue' -- GitLab