-
Notifications
You must be signed in to change notification settings - Fork 18k
x/pkgsite: improve frontend development ergonomics #40960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In case it's useful, esbuild is a Go bundler that could even be used as a library to serve JS on the fly. Doesn't have full ES5 support but if you're talking about using |
Change https://golang.org/cl/252823 mentions this issue: |
Adds a flag to disable CSP during local development. Useful for debugging Google Tag Manager configuration. Does not cause security risk because its only for local development and you can't use runtime flags in App Engine. For golang/go#40960 For golang/go#40958 Change-Id: I9669bd745d1bb3f78472d91142053992dde2cc6b Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/252823 Reviewed-by: Jonathan Amsterdam <jba@google.com> Trust: Julie Qiu <julie@golang.org>
Change https://golang.org/cl/281776 mentions this issue: |
Adds a section to the frontend docs that details the new frontend development process. For golang/go#40960 Change-Id: Ia9d89c05486819a6a236af7d69a5416f03257ab5 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/281776 Trust: Jamal Carvalho <jamal@golang.org> Reviewed-by: Julie Qiu <julie@golang.org>
There are multiple items likely associated with these improvements, so it may make sense to break them out and label this an
umbrella
issue.<script type="module">
) so that older, unsupported browsers don’t attempt to load our JS and barf in our error logs.I’m sure we can come up with bundling functionality using Go that gets us most of the way there without needing to pull in third-party tooling that requires NPM. Testing is another story, so we’ll have to figure out where we draw the line on whether to pull in NPM or not for that.
Related Issues
The text was updated successfully, but these errors were encountered: