From fb2c16a7d1646fe2e735d6978a500c5522dfe4c7 Mon Sep 17 00:00:00 2001 From: Bruce Hauman Date: Sat, 30 May 2020 09:02:36 -0600 Subject: [PATCH] add --mode=production to advanced configuration --- src/figwheel/main.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/figwheel/main.cljc b/src/figwheel/main.cljc index 4416b1b..aeb135a 100644 --- a/src/figwheel/main.cljc +++ b/src/figwheel/main.cljc @@ -843,7 +843,7 @@ classpath. Classpath-relative paths have prefix of @ or @/") (update-in [:options :bundle-cmd] #(merge {:none ["npx" "webpack" "--mode=development" :output-to "-o" :final-output-to] - :default ["npx" "webpack" :output-to "-o" :final-output-to]} + :default ["npx" "webpack" "--mode=production" :output-to "-o" :final-output-to]} %)) (= :parcel (:auto-bundle config)) (update-in [:options :bundle-cmd]