From 3123a133fefa390d1a0f455434da94ff3c174ab0 Mon Sep 17 00:00:00 2001 From: Dan Onoshko Date: Sun, 7 Aug 2022 21:23:35 +0400 Subject: [PATCH] build: emit sourcemaps (#10568) --- rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index de558e295..974121260 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -32,6 +32,7 @@ export default [ file: 'dist/chart.umd.js', format: 'umd', indent: false, + sourcemap: true, }, }, @@ -48,7 +49,6 @@ export default [ resolve(), cleanup({ comments: ['some', /__PURE__/], - sourcemap: true }), ], output: { @@ -58,6 +58,7 @@ export default [ banner, format: 'esm', indent: false, + sourcemap: true, }, } ]; -- 2.47.3