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