mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
Revert the full file minification on build
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
88d07a2108
commit
0c5d750a31
4 changed files with 2 additions and 2485 deletions
5
Makefile
5
Makefile
|
@ -1,9 +1,6 @@
|
|||
build:
|
||||
npm run build
|
||||
|
||||
netlifymin:
|
||||
npm run netlify-min
|
||||
|
||||
clean:
|
||||
[ -z "${CI}" ] || rm -rfv requirements.txt \
|
||||
README.md \
|
||||
|
@ -12,6 +9,6 @@ clean:
|
|||
.vscode \
|
||||
.github \
|
||||
|
||||
netlify: build netlifymin clean
|
||||
netlify: build clean
|
||||
|
||||
.PHONY: build clean netlify
|
||||
|
|
2467
package-lock.json
generated
2467
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -4,8 +4,7 @@
|
|||
"description": "My website's source code",
|
||||
"scripts": {
|
||||
"serve": "live-server --no-browser",
|
||||
"build": "./scripts/build.sh",
|
||||
"netlify-min": "./scripts/netlify_prod.sh"
|
||||
"build": "./scripts/build.sh"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -31,7 +30,6 @@
|
|||
"autoprefixer-cli": "^1.0.0",
|
||||
"eslint": "^8.14.0",
|
||||
"live-server": "^1.2.2",
|
||||
"minify-all-cli": "^1.0.13",
|
||||
"node-sass": "^7.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
|
||||
main() {
|
||||
minify-all -s . -d min --skipFileExtensions=.png --logLevel=fatal -p 10
|
||||
cp -r min/* .
|
||||
rm -r min
|
||||
}
|
||||
|
||||
main "$@"
|
Loading…
Add table
Reference in a new issue