From 2f05be83238416437c87a5b5bdaea4a87f982e88 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 21 Jan 2022 14:33:51 +0800 Subject: [PATCH] chore(rollup): replacing IIFE with UMD modules --- build/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rollup.config.js b/build/rollup.config.js index 654f889..020933e 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -23,7 +23,7 @@ const RollUpConfig = { { name: 'VueRequest', file: './dist/vue-request.min.js', - format: 'iife', + format: 'umd', exports: 'named', extend: true, plugins: [terser()],