stop supporting safari 10
parent
258b8df54c
commit
55643c0849
|
@ -71,7 +71,7 @@ def main(args):
|
||||||
|
|
||||||
|
|
||||||
def terser(js):
|
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"))
|
stdout, stderr = p.communicate(js.encode("utf-8"))
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
sys.exit(p.returncode)
|
sys.exit(p.returncode)
|
||||||
|
|
|
@ -16,7 +16,6 @@ exports.rollupProject = (targets) => {
|
||||||
name: target.name,
|
name: target.name,
|
||||||
plugins: [
|
plugins: [
|
||||||
terser({
|
terser({
|
||||||
safari10: true,
|
|
||||||
output: {
|
output: {
|
||||||
comments: false,
|
comments: false,
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
|
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
|
|
||||||
/* magically fixes fit-content on safari 10 */
|
|
||||||
background: $c-bg-box;
|
|
||||||
|
|
||||||
.ceval {
|
.ceval {
|
||||||
flex: 0 0 38px;
|
flex: 0 0 38px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
|
|
||||||
/* hack to mitigate safari 10 disaster */
|
|
||||||
background: $c-bg-box;
|
|
||||||
|
|
||||||
.ceval-wrap {
|
.ceval-wrap {
|
||||||
flex: 0 0 38px;
|
flex: 0 0 38px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"noImplicitThis": true,
|
"noImplicitThis": true,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"target": "ES2016",
|
"target": "ES2017",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"lib": ["DOM", "ES2017", "DOM.iterable"],
|
"lib": ["DOM", "ES2017", "DOM.iterable"],
|
||||||
"types": ["lichess", "cash"]
|
"types": ["lichess", "cash"]
|
||||||
|
|
Loading…
Reference in New Issue