From: Dan Onoshko Date: Sun, 7 Aug 2022 17:23:35 +0000 (+0400) Subject: build: emit sourcemaps (#10568) X-Git-Tag: v4.0.0~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3123a133fefa390d1a0f455434da94ff3c174ab0;p=thirdparty%2FChart.js.git build: emit sourcemaps (#10568) --- 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, }, } ];