diff --git a/scripts/gulp/minify-stream.js b/scripts/gulp/minify-stream.js index be1414a589d..3c7c1820b70 100644 --- a/scripts/gulp/minify-stream.js +++ b/scripts/gulp/minify-stream.js @@ -31,7 +31,10 @@ function minifyStream() { const code = Buffer.concat(this.chunks).toString(); // See https://github.com/terser/terser#minify-options-structure - const options = {}; + const options = { + // See https://github.com/hypothesis/client/issues/2664. + safari10: true, + }; // If the code we're minifying has a sourcemap then generate one for the // minified output, otherwise skip it.