Fork me on GitHub
#figwheel
<
2018-04-05
>
zane20:04:29

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

zane20:04:02

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

zane20:04:39

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.

zane20:04:45

:thinking_face:

zane21:04:18

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

zane21:04:48

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

zane21:04:16

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

zane21:04:20

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

zane21:04:44

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

zane21:04:11

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