From 564b54bb3553f135bd33a1df85c54afb582561b3 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] rename record only bundle iife name --- rollup.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 00d93532..eb32c118 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -21,7 +21,7 @@ let configs = [ plugins: [typescript(), resolve()], output: [ { - name: 'record', + name: 'rrwebRecord', format: 'iife', file: toRecordPath(pkg.unpkg), }, @@ -32,7 +32,7 @@ let configs = [ plugins: [typescript(), resolve(), terser()], output: [ { - name: 'record', + name: 'rrwebRecord', format: 'iife', file: toMinPath(toRecordPath(pkg.unpkg)), sourcemap: true,