You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This gives earlier feedback than deploy previews for folks who can't
push to the CodeYourFuture fork (because deploy previews require manual
approval).
It also adds a handy script for making sure all sites build.
Copy file name to clipboardExpand all lines: common-theme/package.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
"scripts": {
7
7
"test": "echo \"Error: no test specified\" && exit 1",
8
8
"start:dev": "dotenv -- hugo server -p 3000 -D",
9
+
"build:dev": "hugo mod vendor && dotenv -e ../.env -- hugo --environment development",
9
10
"build:audit": "HUGO_MINIFY_TDEWOLFF_HTML_KEEPCOMMENTS=true HUGO_ENABLEMISSINGTRANSLATIONPLACEHOLDERS=true hugo mod vendor && dotenv -e ../.env -- hugo --environment production && grep -inorE '<\\!-- raw HTML omitted -->|ZgotmplZ|\\[i18n\\]|\\(<nil>\\)|(<nil>)|hahahugo' public/"
0 commit comments