Skip to content

minimal-xyz/minimal-shadow-cljs-webpack

Repository files navigation

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

About

Live coding ClojureScript with Webpack and shadow-cljs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published