From 271ce5e4272f81fe4f657f9a5c0a75809dd5ff86 Mon Sep 17 00:00:00 2001 From: brandonocasey Date: Wed, 23 Jun 2021 11:38:31 -0400 Subject: [PATCH 1/2] chore: do not strip debugger statements --- scripts/rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/rollup.config.js b/scripts/rollup.config.js index 41cb5f7e6..f3b330db2 100644 --- a/scripts/rollup.config.js +++ b/scripts/rollup.config.js @@ -76,7 +76,8 @@ const options = { compress: {passes: 2} }), strip: strip({ - functions: ['TEST_ONLY_*'] + functions: ['TEST_ONLY_*'], + debugger: false }), createTestData: createTestData() }); From d2744902573bbe062d2704115327c350862e6fa2 Mon Sep 17 00:00:00 2001 From: Brandon Casey <2381475+brandonocasey@users.noreply.github.com> Date: Wed, 23 Jun 2021 11:43:12 -0400 Subject: [PATCH 2/2] Update scripts/rollup.config.js Co-authored-by: Gary Katsevman --- scripts/rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/rollup.config.js b/scripts/rollup.config.js index f3b330db2..d76c0bd29 100644 --- a/scripts/rollup.config.js +++ b/scripts/rollup.config.js @@ -77,7 +77,8 @@ const options = { }), strip: strip({ functions: ['TEST_ONLY_*'], - debugger: false + debugger: false, + sourceMap: false }), createTestData: createTestData() });