From fc4e5164a2802882361b395ad37056b39a77a4f6 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Tue, 18 Dec 2018 17:52:17 +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,