Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 624 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 624 Bytes

ClojureScript HMR with Webpack based on shadow-cljs

It's also possible to do HMR with shadow-cljs alone, but using Webpack for more features.

Guide

  • Development
yarn
yarn shadow-cljs watch app

# use another terminal
yarn dev # start webpack-dev-server

# use another terminal
open http://localhost:8080

Edit src/app/lib.cljs to see hot replacing.

  • Build
yarn build

Find built assets in dist/.

In real-world projects, you may need to config externs to make :advanced mode work.

License

MIT