0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 11:57:03 +01:00
gitea/docs/content/doc
silverwind c09f747b51
Enable all webpack sourcemaps in dev build, disable all in prod build (#25089)
- Enable all source maps in dev build
- Disable all source maps in prod build
- Provide `ENABLE_SOURCEMAP` env var to override it.

I think the strange error seen in
https://github.com/go-gitea/gitea/issues/24784 is sourcemap related, so
if we enable/disable them all, it might go away. But it's most
definitely a Safari bug.

With all sourcemaps disabled, binary size goes down by around 1-2 MB,
with all enabled it goes up by around 12MB. If +12MB is acceptable, we
could also always enable them by default as fully source maps do have
some debugging benefits.
2023-06-06 12:57:08 +08:00
..
administration Remove the service worker (#25010) 2023-05-31 02:07:04 +00:00
contributing Add Chinese docs for help, contribution and development (#24925) 2023-05-25 16:01:01 +00:00
development Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
help Fix documentation ref (#24934) 2023-05-26 00:19:13 +08:00
installation Enable all webpack sourcemaps in dev build, disable all in prod build (#25089) 2023-06-06 12:57:08 +08:00
usage change placeholders in actions docs 2023-06-05 11:32:56 -04:00
actions.en-us.md Docs for Gitea Actions (#24405) 2023-05-05 20:07:20 +00:00
administration.en-us.md
administration.fr-fr.md
administration.zh-cn.md
administration.zh-tw.md
contributing.en-us.md
contributing.fr-fr.md
contributing.zh-tw.md
development.en-us.md
development.zh-cn.md
development.zh-tw.md
help.en-us.md
help.fr-fr.md
help.zh-cn.md
help.zh-tw.md
installation.en-us.md
installation.fr-fr.md
installation.zh-cn.md
installation.zh-tw.md
packages.en-us.md
search.de-de.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
search.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
search.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
search.nl-nl.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
search.pt-br.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
search.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
search.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
usage.en-us.md
usage.zh-cn.md
usage.zh-tw.md