Skip to content

Commit

Permalink
fix: improve parsing speed for release apps
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Dec 22, 2021
1 parent 8a247ce commit 52afef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/handler/extract.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
(p/resolved [])
(p/let [format (format/get-format file)
_ (println "Parsing start : " file)
parse-f (if (mobile/is-native-platform?)
parse-f (if (and (mobile/is-native-platform?) config/dev?)
mldoc/->edn
mldoc/->edn-async)
ast (parse-f content (mldoc/default-config format))]
Expand Down

0 comments on commit 52afef5

Please sign in to comment.