mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Cleanup JS and better terser compression
This commit is contained in:
parent
058217de02
commit
ba7ed497b2
20 changed files with 247 additions and 298 deletions
|
|
@ -73,7 +73,13 @@ const jsMin = () =>
|
|||
.pipe(rename({ suffix: '.min' }))
|
||||
.pipe(
|
||||
terser({
|
||||
output: {comments: false}
|
||||
output: {
|
||||
comments: false
|
||||
},
|
||||
compress:{
|
||||
ecma: 6,
|
||||
drop_console: true
|
||||
}
|
||||
})
|
||||
)
|
||||
.pipe(eol('\n', true))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue