From 4d813fff39f4afc8d19d271a3b143097f908b603 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] close #138 change source map into a single file --- package.json | 2 +- rollup.config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 920c0566..fffe795f 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "dependencies": { "@types/smoothscroll-polyfill": "^0.3.0", "mitt": "^1.1.3", - "rrweb-snapshot": "^0.7.18", + "rrweb-snapshot": "^0.7.20", "smoothscroll-polyfill": "^0.4.3" } } diff --git a/rollup.config.js b/rollup.config.js index 1aa3b5a0..387ea1f2 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -102,7 +102,7 @@ let configs = [ postcss({ extract: true, minimize: true, - sourceMap: 'inline', + sourceMap: true, }), terser(), ], @@ -185,7 +185,7 @@ if (process.env.BROWSER_ONLY) { postcss({ extract: true, minimize: true, - sourceMap: 'inline', + sourceMap: true, }), terser(), ],