mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-08 10:29:37 +00:00
Correct Terser ECMA option (#16518)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user