commit | 3c4560229401f7f41559fef46ab7b21a3cddde25 | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Fri Nov 19 16:34:22 2021 +0000 |
committer | Jamal Carvalho <jamal@golang.org> | Fri Nov 19 17:10:56 2021 +0000 |
tree | 9014b7f11de2c82fac11dee3e09cafe39d07e75e | |
parent | d37447d5241999cfc88746e21d57f2fdbcef6628 [diff] |
internal/static: minify generated files in watch mode To prevent confusion around uncommitted changes when running pkgsite in dev mode we can minify the generated static files. Given the speed of the esbuild tool we should see little to no impact in the build times while making JS or CSS changes locally. Change-Id: I2e5f7feaa7da5ae069ce9acdd16578d1c94ef8ea Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/365656 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.