figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
zane 2018-04-05T20:08:29.000581Z

Does anyone have an example of using code splitting with figwheel?

zane 2018-04-05T20:09:02.000200Z

Figwheel is telling me it successfully compiled my build but I'm not seeing a .js file being produced.

zane 2018-04-05T20:36:39.000129Z

Hmm.

-- Docs for key :modules --
Modules are only supported with `:simple` and `:advanced` optimizations.
however
A Figwheel build must have :compiler > :optimizations default to nil or set to :none.

zane 2018-04-05T20:36:45.000227Z

:thinking_face:

zane 2018-04-05T21:39:18.000531Z

This issue was me my version of :cljs: not being high enough. ☝️:skin-tone-2:

zane 2018-04-05T21:39:48.000428Z

Now I'm having a different issue: The :websocket-url seems like it's ignored?

zane 2018-04-05T21:46:16.000509Z

I can't find a combination of :websocket-url and :websocket-host that will override using localhost as the host.

zane 2018-04-05T21:46:20.000207Z

The documentation claims that the former overrides the latter, but I figured I'd try both just in case.

zane 2018-04-05T21:47:44.000503Z

Perhaps :websocket-url and :websocket-host aren't supported for code splitting builds?

zane 2018-04-05T21:58:11.000416Z

Perhaps important note: I'm calling figwheel-sidecar.repl-api/start-figwheel! directly.