Skip to content

v0.3.6

Compare
Choose a tag to compare
@maddalax maddalax released this 14 Oct 15:22
· 213 commits to master since this release

What's Changed

  1. Added a way to configure html via a yaml file (htmgo.yml)

Simply place a htmgo.yml in the root of your project. The following is supported as of now:

# htmgo configuration

# if tailwindcss is enabled, htmgo will automatically compile your tailwind and output it to assets/dist
tailwind: true

# which directories to ignore when watching for changes, supports glob patterns through https://github.com/bmatcuk/doublestar
watch_ignore: [".git", "node_modules", "dist/*"]

# files to watch for changes, supports glob patterns through https://github.com/bmatcuk/doublestar
watch_files: ["**/*.go", "**/*.css", "**/*.md"]

Important: If you already have the htmgo CLI installed, make sure to run GOPROXY=direct go install github.com/maddalax/htmgo/cli/htmgo@latest to install the latest version.

Full Changelog: v0.3.5...v0.3.6