stop supporting safari 10

rip-safari10
Niklas Fiekas 2021-01-22 11:28:07 +01:00
parent 258b8df54c
commit 55643c0849
5 changed files with 2 additions and 9 deletions

View File

@ -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)

View File

@ -16,7 +16,6 @@ exports.rollupProject = (targets) => {
name: target.name,
plugins: [
terser({
safari10: true,
output: {
comments: false,
},

View File

@ -4,9 +4,6 @@
max-height: 100vh;
/* magically fixes fit-content on safari 10 */
background: $c-bg-box;
.ceval {
flex: 0 0 38px;
}

View File

@ -3,9 +3,6 @@
max-height: 90vh;
/* hack to mitigate safari 10 disaster */
background: $c-bg-box;
.ceval-wrap {
flex: 0 0 38px;
}

View File

@ -8,7 +8,7 @@
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES2016",
"target": "ES2017",
"module": "commonjs",
"lib": ["DOM", "ES2017", "DOM.iterable"],
"types": ["lichess", "cash"]