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:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user