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()],