Skip to content

Commit

Permalink
chore: prevent debugger statement removal and soucemap updating via r…
Browse files Browse the repository at this point in the history
…ollup-plugin-strip (#1147)
  • Loading branch information
brandonocasey authored Jun 23, 2021
1 parent c504b0d commit 62f9c1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ const options = {
compress: {passes: 2}
}),
strip: strip({
functions: ['TEST_ONLY_*']
functions: ['TEST_ONLY_*'],
debugger: false,
sourceMap: false
}),
createTestData: createTestData()
});
Expand Down

0 comments on commit 62f9c1c

Please sign in to comment.