From 62f9c1cd74823ab75d599be00a9608f4fcb729e0 Mon Sep 17 00:00:00 2001 From: Brandon Casey <2381475+brandonocasey@users.noreply.github.com> Date: Wed, 23 Jun 2021 11:49:40 -0400 Subject: [PATCH] chore: prevent debugger statement removal and soucemap updating via rollup-plugin-strip (#1147) --- scripts/rollup.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/rollup.config.js b/scripts/rollup.config.js index 41cb5f7e6..d76c0bd29 100644 --- a/scripts/rollup.config.js +++ b/scripts/rollup.config.js @@ -76,7 +76,9 @@ const options = { compress: {passes: 2} }), strip: strip({ - functions: ['TEST_ONLY_*'] + functions: ['TEST_ONLY_*'], + debugger: false, + sourceMap: false }), createTestData: createTestData() });