Skip to content

Commit

Permalink
bump closure, remove deprecated AMD transform option
Browse files Browse the repository at this point in the history
  • Loading branch information
thheller committed Aug 2, 2018
1 parent 5b91df9 commit 0a3f6f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

;; [com.google.javascript/closure-compiler-unshaded "v20180319"]
;; v20180506
[com.google.javascript/closure-compiler-unshaded "v20180610"]
[com.google.javascript/closure-compiler-unshaded "v20180716"]

[thheller/shadow-util "0.7.0"]
[thheller/shadow-client "1.3.2"]
Expand Down
3 changes: 2 additions & 1 deletion src/main/shadow/build/closure.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,8 @@
(.addCustomPass CustomPassExecutionTime/AFTER_OPTIMIZATION_LOOP property-collector)

(.setProcessCommonJSModules true)
(.setTransformAMDToCJSModules true)
;; officially deprecated and shouldn't be used anymore
;; (.setTransformAMDToCJSModules true)
;; just in case there are some type annotations
(.setPreserveTypeAnnotations true)

Expand Down

0 comments on commit 0a3f6f7

Please sign in to comment.