diff options
author | silverwind | 2020-06-28 04:59:56 +0200 |
---|---|---|
committer | GitHub | 2020-06-27 22:59:56 -0400 |
commit | 7761245d087c9477ea7f3e50c60daecd6cc6ec14 (patch) | |
tree | ad8884856cef8ccae786f3889cd9a51486a8b738 /.gitignore | |
parent | 2281b048af8837a33adfc9acfd3872022c789026 (diff) |
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>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 90a103eca..b5929cd12 100644 --- a/.gitignore +++ b/.gitignore @@ -79,8 +79,8 @@ coverage.all /public/serviceworker.js /public/css /public/fonts -/public/fomantic /public/img/svg +/web_src/fomantic/build /VERSION # Snapcraft |