figwheel-main

figwheel-main http://figwheel.org
2019-10-15T08:16:59.015100Z

I've switched a recent project to figwheel main and am quite enjoying the much thinner configuration needed now.

2019-10-15T08:18:26.016900Z

I am left with two questions: 1. Is figwheel main also expected to produce production builds or is cljsbuild still favored here (by default, a single "dev" build profile exists) 2. With a default output of dev-main.js how do you usually go about producing host pages? A different one for prod and dev?

2019-10-22T10:48:20.028200Z

@pyr 1) I use cljs.main to do the production builds. Sth like this https://github.com/dimovich/deps-cider-cljs-reagent/blob/master/deps.edn 2) I have a main.js only (for both dev and prod), so there is no need to duplicate host pages.

2019-10-15T08:30:14.017800Z

Looking at what the template provides, it seems as though dev-main.js stays as the name and the proposed fig:min alias produces a minimized/optimized build in the same location.

2019-10-17T16:35:53.021300Z

@jr0cket thanks for your answer!

raspasov 2019-10-15T18:47:07.020600Z

Has anybody used https://github.com/bhauman/react-native-figwheel-bridge and managed to build for production?