mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Enable compress without dropping debugger to avoid SyntaxError in safari 16 {to #1766} (#2825)
This commit is contained in:
@@ -73,7 +73,9 @@ module.exports = {
|
||||
// `terserOptions` options will be passed to `swc` (`@swc/core`)
|
||||
// Link to options - https://swc.rs/docs/config-js-minify
|
||||
terserOptions: {
|
||||
compress: false,
|
||||
compress: {
|
||||
drop_debugger: false,
|
||||
},
|
||||
mangle: true,
|
||||
},
|
||||
}),
|
||||
|
||||
6
upcoming-release-notes/2825.md
Normal file
6
upcoming-release-notes/2825.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [chinalichen]
|
||||
---
|
||||
|
||||
Enable compress to avoid minified scripts from throwing SyntaxError in safari16
|
||||
Reference in New Issue
Block a user