diff --git a/Makefile b/Makefile index 0d6f705..e159a60 100644 --- a/Makefile +++ b/Makefile @@ -45,11 +45,13 @@ ifeq ($(DEBUG), on) TYPECHECK := tsc -noEmit --project ts/tsconfig.json # jank COPYTS := rm -r $(DATA)/web/js/ts; cp -r ts $(DATA)/web/js + UNCSS := cp $(DATA)/web/css/bundle.css $(DATA)/bundle.css else LDFLAGS := -s -w $(LDFLAGS) SOURCEMAP := COPYTS := TYPECHECK := + UNCSS := npx uncss $(DATA)/crash.html --csspath web/css --output $(DATA)/bundle.css endif RACE ?= off @@ -111,7 +113,7 @@ bundle-css: inline: cp html/crash.html $(DATA)/crash.html - npx uncss $(DATA)/crash.html --csspath web/css --output $(DATA)/bundle.css + $(UNCSS) npx inline-source --root $(DATA) $(DATA)/crash.html $(DATA)/crash.html rm $(DATA)/bundle.css diff --git a/html/crash.html b/html/crash.html index c34c181..aa76b3b 100644 --- a/html/crash.html +++ b/html/crash.html @@ -20,8 +20,10 @@ Create an Issue
- Full Log - Copy +
+ Full Log + Copy +