Skip to content

support for latest CLJS :bundle target

Compare
Choose a tag to compare
@bhauman bhauman released this 14 May 14:53
· 168 commits to master since this release

support for the new :bundle target requires clojurescript >= 1.10.764

The latest ClojureScript updated the Google Closure library which
included some breaking changes when it comes to reloading. This
release fixes those problems and also fixes fighweel-main problems
that interfered with the support of the new :bundle target.

You can currently learn more about the new bundle target in the Clojruescript guide

https://clojurescript.org/guides/webpack

Using the bundle target will break auto-testing and the default index
page. You will have to have your own host page.

There still needs to be some work done on Extra mains to get them to
work properly with the new bundle target.

The main problem for many of these automated features is that figwheel
has no idea of where the output file of webpack is because the webpack
config is exterior to figwheel itself.

The new :bundle target probably deprecates the :npm-deps way of doing
things. We'll need to take some time with this way of doing things to
see what makes sense.