From 7fbb45d1ea049b6e9c0f7bcab5fabf2bcc962525 Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Mon, 1 Nov 2021 23:45:19 +0800 Subject: [PATCH] build: update rollup config --- scripts/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rollup.config.js b/scripts/rollup.config.js index 5c96f05..5311ab7 100644 --- a/scripts/rollup.config.js +++ b/scripts/rollup.config.js @@ -31,7 +31,7 @@ for(let i = 0; i < packages.length; i++) { if (process.env.NODE_ENV === 'production') { modules.push({ input: resolveFile([pkg.dirName, 'src', 'index.ts']), - output: resolveFile([pkg.dirName, 'dist', 'index.global.mini.js']), + output: resolveFile([pkg.dirName, 'dist', 'index.global.min.js']), name: pkg.globalName, format: 'iife', plugins: []