Commit unstaged changes
This commit is contained in:
parent
300e38aac4
commit
e730a5cc5e
2 changed files with 12 additions and 11 deletions
|
|
@ -8,7 +8,7 @@ The project is built via [shadow-cljs](https://shadow-cljs.github.io/docs/UsersG
|
|||
You can run a dev build like so:
|
||||
|
||||
``` sh
|
||||
npx shadow-cljs server :app
|
||||
clojure -A:cljs -m shadow.cljs.devtools.cli server app
|
||||
```
|
||||
|
||||
This starts a web server at localhost:8080 and also starts an nRPL server that you can connect to in your editor
|
||||
|
|
@ -16,13 +16,13 @@ This starts a web server at localhost:8080 and also starts an nRPL server that y
|
|||
Similarly, a production-optimized app can be generated via
|
||||
|
||||
``` sh
|
||||
npx shadow-cljs release :app
|
||||
clojure -A:cljs -m shadow.cljs.devtools.cli release app
|
||||
```
|
||||
|
||||
If you want to get detailed info about bundle size, try:
|
||||
|
||||
``` sh
|
||||
npx shadow-cljs run shadow.cljs.build-report :app report.html
|
||||
clojure -A:cljs -m shadow.cljs.build-report app report.html
|
||||
```
|
||||
|
||||
The server component has to be started separately.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue