From cdd0f2bef5c522eb6809ba58d7d9adc2eb4bd6b3 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 30 Sep 2024 15:01:33 +0800 Subject: chore(build): add bundle stat for dev --- rollup.config.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rollup.config.js') diff --git a/rollup.config.js b/rollup.config.js index 1f46f2a..75db905 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -3,6 +3,7 @@ import commonjs from '@rollup/plugin-commonjs'; import terser from '@rollup/plugin-terser'; import { existsSync } from 'fs'; import { join } from 'path'; +import { bundleStats } from 'rollup-plugin-bundle-stats'; const production = !process.env.ROLLUP_WATCH; @@ -53,6 +54,7 @@ const general = { node(), commonjs(), production && terser(), + // bundleStats(), ], } -- cgit v1.2.3-70-g09d2