r/Clojure • • Apr 24 '20

ClojureScript - Embracing JavaScript Tools

https://clojurescript.org/news/2020-04-24-bundle-target
88 Upvotes

20 comments sorted by

View all comments

Show parent comments

6

u/swannodette Apr 25 '20

I chatted with Bruce. Figwheel will need some changes, he's being funded again by Clojurists Together - so this should be fixed soon.

These changes have nothing specifically to do with Webpack, and no we don't run any commands for you.

2

u/lgstein Apr 25 '20

Thanks. The way I understand the new webpack guide, as a way to consume npm dependencies, it would have to run webpack CLI after every incremental figwheel build, yes?

3

u/swannodette Apr 25 '20

You don't need to re-run the JS bundler unless your dependencies on node_modules change. In all other cases hot-reload or incremental compile does not need to rerun the bundler.

2

u/lgstein Apr 25 '20

I guess I understand it now. Thanks. I will try it out, very cool.