fixed live index
This commit is contained in:
parent
2afb45db6e
commit
3a695ce865
2 changed files with 4 additions and 3 deletions
|
@ -4,9 +4,10 @@
|
|||
"description": "website for sp-codes.de",
|
||||
"scripts": {
|
||||
"minify-css": "uncss -n -H dist/ -o dist/css/main-*.css dist/**/*.html dist/**/**/*.html dist/**/**/**/*.html dist/**/**/**/**/*.html dist/**/**/**/**/**/*.html",
|
||||
"add-index": "cpx dist/de/index.html dist/ && replace-in-file sp-codes.de/de/ sp-codes.de/ dist/index.html",
|
||||
"start": "eleventy --serve --watch",
|
||||
"build": "eleventy && npm run minify-css",
|
||||
"build:dev": "BUILD=dev eleventy && npm run minify-css"
|
||||
"build": "eleventy && npm run minify-css && npm run add-index",
|
||||
"build:dev": "BUILD=dev eleventy && npm run minify-css && npm run add-index"
|
||||
},
|
||||
"author": "samuel-p",
|
||||
"repository": {
|
||||
|
@ -29,6 +30,7 @@
|
|||
"glob": "^10.3.12",
|
||||
"minify": "^11.1.1",
|
||||
"postcss": "^8.4.38",
|
||||
"replace-in-file": "^7.1.0",
|
||||
"sass": "^1.72.0",
|
||||
"uncss": "^0.17.3"
|
||||
},
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
de/index.html
|
Loading…
Reference in a new issue