forked from drowl87/hextra_mirror

* update dev and build command chore: move contents to exampleSite chore: add configs to exampleSite chore: use tailwindcss/nesting * add postcss-import * move imports to the top chore: add config for theme dev chore: add compiled css chore: fix last updated issue chore: dont't ignore hugo_stats.json chore: update index page layout
20 lines
472 B
YAML
20 lines
472 B
YAML
version: "3"
|
|
|
|
tasks:
|
|
dev:
|
|
cmds:
|
|
- hugo server --debug --enableGitInfo --source=exampleSite --themesDir=../.. --environment=theme --disableFastRender --buildDrafts --port 1313
|
|
|
|
build:
|
|
deps: [css]
|
|
cmds:
|
|
- hugo --minify --source=exampleSite --themesDir=../..
|
|
|
|
css:
|
|
cmds:
|
|
- npx postcss --config postcss.config.js --env production assets/css/styles.css -o assets/css/compiled/main.css
|
|
|
|
clean:
|
|
cmds:
|
|
- rm -rf public resources
|