Skip to content

Commit 5f76a40

Browse files
committed
Use feature set ES5 for releases
1 parent 97f2e6d commit 5f76a40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

shadow-cljs.edn

+4-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@
7373
{:closure-defines
7474
{status-im2.config/POKT_TOKEN #shadow/env "POKT_TOKEN"
7575
status-im2.config/OPENSEA_API_KEY #shadow/env "OPENSEA_API_KEY"}
76-
:compiler-options {:output-feature-set :es6
76+
:compiler-options {;; Feature set ES6 does not work because the Closure
77+
;; Compiler throws the error NoSuchMethodError:
78+
;; java.util.Optional.isEmpty()
79+
:output-feature-set :es5
7780
;;disable for android build as there
7881
;;is an intermittent warning with deftype
7982
:warnings-as-errors false

0 commit comments

Comments
 (0)