mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-12 20:06:33 +00:00
Correct Terser ECMA option (#16518)
This commit is contained in:
parent
aa063d0a3e
commit
eabd8b54f4
@ -76,7 +76,7 @@ module.exports.htmlMinifierOptions = {
|
||||
|
||||
module.exports.terserOptions = ({ latestBuild, isTestBuild }) => ({
|
||||
safari10: !latestBuild,
|
||||
ecma: latestBuild ? undefined : 5,
|
||||
ecma: latestBuild ? 2015 : 5,
|
||||
format: { comments: false },
|
||||
sourceMap: !isTestBuild,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user