1
Fork 0

Try running speedpack on netlify

This commit is contained in:
Jake Howard 2018-05-27 12:27:52 +01:00
parent fa38120b20
commit bbd789ab23
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 2792 additions and 179 deletions

View file

@ -1,6 +1,6 @@
[build]
publish = "public/"
command = "./scripts/build.sh"
command = "./scripts/release.sh"
[build.environment]
HUGO_VERSION = "0.40.3"

2957
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -27,6 +27,7 @@
"lightgallery": "1.6.9",
"mermaid": "7.1.2",
"plyr": "2.0.17",
"popper.js": "1.14.3"
"popper.js": "1.14.3",
"speedpack": "0.2.0"
}
}

9
scripts/release.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
source ./scripts/common.sh
bash ./scripts/build.sh
speedpack $OUTPUT_DIR -o $OUTPUT_DIR