forked from Shiloh/githaven
7761245d08
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>
98 lines
1.4 KiB
Plaintext
98 lines
1.4 KiB
Plaintext
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
*.o
|
|
*.a
|
|
*.so
|
|
|
|
# Folders
|
|
_obj
|
|
_test
|
|
|
|
# IntelliJ
|
|
.idea
|
|
|
|
# MS VSCode
|
|
.vscode
|
|
__debug_bin
|
|
|
|
# Architecture specific extensions/prefixes
|
|
*.[568vq]
|
|
[568vq].out
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
|
|
_testmain.go
|
|
|
|
*.exe
|
|
*.test
|
|
*.prof
|
|
|
|
*coverage.out
|
|
coverage.all
|
|
|
|
/modules/options/bindata.go
|
|
/modules/options/bindata.go.hash
|
|
/modules/public/bindata.go
|
|
/modules/public/bindata.go.hash
|
|
/modules/templates/bindata.go
|
|
/modules/templates/bindata.go.hash
|
|
|
|
*.db
|
|
*.log
|
|
|
|
/gitea
|
|
/gitea-vet
|
|
/debug
|
|
/integrations.test
|
|
|
|
/bin
|
|
/dist
|
|
/custom/*
|
|
!/custom/conf
|
|
/custom/conf/*
|
|
!/custom/conf/app.example.ini
|
|
/data
|
|
/indexers
|
|
/log
|
|
/public/img/avatar
|
|
/integrations/gitea-integration-mysql
|
|
/integrations/gitea-integration-mysql8
|
|
/integrations/gitea-integration-pgsql
|
|
/integrations/gitea-integration-sqlite
|
|
/integrations/gitea-integration-mssql
|
|
/integrations/indexers-mysql
|
|
/integrations/indexers-mysql8
|
|
/integrations/indexers-pgsql
|
|
/integrations/indexers-sqlite
|
|
/integrations/indexers-mssql
|
|
/integrations/sqlite.ini
|
|
/integrations/mysql.ini
|
|
/integrations/mysql8.ini
|
|
/integrations/pgsql.ini
|
|
/integrations/mssql.ini
|
|
/node_modules
|
|
/yarn.lock
|
|
/public/js
|
|
/public/serviceworker.js
|
|
/public/css
|
|
/public/fonts
|
|
/public/img/svg
|
|
/web_src/fomantic/build
|
|
/VERSION
|
|
|
|
# Snapcraft
|
|
snap/.snapcraft/
|
|
parts/
|
|
stage/
|
|
prime/
|
|
*.snap
|
|
*.snap-build
|
|
*_source.tar.bz2
|
|
.DS_Store
|
|
|
|
# Make evidence files
|
|
/.make_evidence
|