diff --git a/bin/gen/timeago-to-scala.py b/bin/gen/timeago-to-scala.py index 1982c9a502..3b7fdd6f91 100755 --- a/bin/gen/timeago-to-scala.py +++ b/bin/gen/timeago-to-scala.py @@ -71,7 +71,7 @@ def main(args): def terser(js): - p = subprocess.Popen(["yarn", "run", "--silent", "terser", "--mangle", "--compress", "--safari10"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=sys.stderr) + p = subprocess.Popen(["yarn", "run", "--silent", "terser", "--mangle", "--compress"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=sys.stderr) stdout, stderr = p.communicate(js.encode("utf-8")) if p.returncode != 0: sys.exit(p.returncode) diff --git a/ui/@build/rollupProject/index.js b/ui/@build/rollupProject/index.js index c1a23880de..95e4c5eaec 100644 --- a/ui/@build/rollupProject/index.js +++ b/ui/@build/rollupProject/index.js @@ -16,7 +16,6 @@ exports.rollupProject = (targets) => { name: target.name, plugins: [ terser({ - safari10: true, output: { comments: false, }, diff --git a/ui/analyse/css/_tools.scss b/ui/analyse/css/_tools.scss index d57fa35794..2a4744d845 100644 --- a/ui/analyse/css/_tools.scss +++ b/ui/analyse/css/_tools.scss @@ -4,9 +4,6 @@ max-height: 100vh; - /* magically fixes fit-content on safari 10 */ - background: $c-bg-box; - .ceval { flex: 0 0 38px; } diff --git a/ui/puzzle/css/_tools.scss b/ui/puzzle/css/_tools.scss index 2f83ee1b4f..77a707ed58 100644 --- a/ui/puzzle/css/_tools.scss +++ b/ui/puzzle/css/_tools.scss @@ -3,9 +3,6 @@ max-height: 90vh; - /* hack to mitigate safari 10 disaster */ - background: $c-bg-box; - .ceval-wrap { flex: 0 0 38px; } diff --git a/ui/tsconfig.base.json b/ui/tsconfig.base.json index ac9c66df4f..352f3b74c8 100644 --- a/ui/tsconfig.base.json +++ b/ui/tsconfig.base.json @@ -8,7 +8,7 @@ "noImplicitThis": true, "noUnusedParameters": true, "moduleResolution": "node", - "target": "ES2016", + "target": "ES2017", "module": "commonjs", "lib": ["DOM", "ES2017", "DOM.iterable"], "types": ["lichess", "cash"]