remove inline-css-cli build dep

unnecessary (inline-source-cli already includes its functionality) and a
dependency of it had a high-severity CVE (wouldn't have affected anyone,
but w/e).
This commit is contained in:
Harvey Tindall
2021-06-11 23:39:38 +01:00
parent b538922c05
commit 0ea5c7fdc0
5 changed files with 3 additions and 884 deletions
+1 -2
View File
@@ -28,9 +28,8 @@ before:
- npx esbuild --bundle ts/crash.ts --outfile=./data/crash.js --minify
- cp html/crash.html data/
- npx uncss data/crash.html --csspath web/css --output data/bundle.css
- bash -c 'cd data; npx inline-css-cli -i crash.html -o crash.html'
- rm data/bundle.css
- npx inline-source --root data data/crash.html data/crash.html
- rm data/bundle.css
- mv data/crash.html data/html/
- go get -u github.com/swaggo/swag/cmd/swag
- swag init -g main.go