mirror of
1
Fork 0
forgejo/templates/base
silverwind 7761245d08
Move fomantic and jQuery to main webpack bundle (#11997)
This saves around 3 MB binary size by not including useless fomantic
files in the build. Also, this allows us to move jQuery into the main
bundle as well which eliminates a few HTTP requests.

Also included are webpack config changes:

- split less and css loaders to speed up compliation
- enable css sourcemaps
- switch css minfier plugin to cssnano-webpack-plugin which works better
  for sourcemaps than the previous plugin

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-06-27 22:59:56 -04:00
..
alert.tmpl Security: fix XSS attack on alert (#973) 2017-02-19 19:18:06 +08:00
delete_modal_actions.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
footer.tmpl Move fomantic and jQuery to main webpack bundle (#11997) 2020-06-27 22:59:56 -04:00
footer_content.tmpl Add automatic JS license generation (#11810) 2020-06-12 14:26:37 +03:00
head.tmpl Move fomantic and jQuery to main webpack bundle (#11997) 2020-06-27 22:59:56 -04:00
head_navbar.tmpl Include query in sign in redirect (#11579) 2020-06-03 23:41:02 -04:00
paginate.tmpl Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00