mirror of
1
Fork 0
forgejo/docs/content/doc/installation
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
..
_index.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
comparison.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
comparison.zh-cn.md Move actions as usage's subdirectory and update comparsion zh-cn version (#24719) 2023-05-15 15:36:20 +08:00
comparison.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
database-preparation.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
database-preparation.zh-cn.md Add chinese documentations for installation (#24904) 2023-05-25 04:32:39 +00:00
from-binary.en-us.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-binary.fr-fr.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-binary.zh-cn.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-binary.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
from-package.en-us.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-package.fr-fr.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-package.zh-cn.md Remove unnecessary content on docs (#24976) 2023-05-30 09:30:56 +08:00
from-package.zh-tw.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-source.en-us.md Enable all webpack sourcemaps in dev build, disable all in prod build (#25089) 2023-06-06 12:57:08 +08:00
from-source.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
from-source.zh-cn.md Remove unnecessary content on docs (#24976) 2023-05-30 09:30:56 +08:00
from-source.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
on-cloud-provider.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
on-cloud-provider.zh-cn.md Add chinese documentations for installation (#24904) 2023-05-25 04:32:39 +00:00
on-kubernetes.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
on-kubernetes.zh-cn.md Add chinese documentations for installation (#24904) 2023-05-25 04:32:39 +00:00
on-kubernetes.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
run-as-service-in-ubuntu.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
run-as-service-in-ubuntu.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
run-as-service-in-ubuntu.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
upgrade-from-gitea.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
upgrade-from-gitea.zh-cn.md zh-cn support on doc pages (#24166) 2023-04-18 08:23:35 +08:00
upgrade-from-gogs.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
upgrade-from-gogs.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
upgrade-from-gogs.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
upgrade-from-gogs.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
windows-service.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
windows-service.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
windows-service.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
windows-service.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
with-docker-rootless.en-us.md Make environment-to-ini support loading key value from file (#24832) 2023-05-24 11:37:22 +08:00
with-docker-rootless.zh-cn.md Add chinese documentations for installation (#24904) 2023-05-25 04:32:39 +00:00
with-docker.en-us.md Make environment-to-ini support loading key value from file (#24832) 2023-05-24 11:37:22 +08:00
with-docker.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
with-docker.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
with-docker.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00