Skip to content

Commit

Permalink
add --mode=production to advanced configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed May 30, 2020
1 parent 5db5f77 commit fb2c16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/figwheel/main.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit fb2c16a

Please sign in to comment.