0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 02:34:36 +01:00
gitea/semantic.json
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

60 lines
1.1 KiB
JSON

{
"version": "2.8.6",
"base": "node_modules/fomantic-ui",
"paths": {
"source": {
"config": "src/theme.config",
"definitions": "src/definitions/",
"site": "src/site/",
"themes": "src/themes/"
},
"output": {
"packaged": "../../web_src/fomantic/build/",
"uncompressed": "../../web_src/fomantic/build/components/",
"compressed": "../../web_src/fomantic/build/components/",
"themes": "../../web_src/fomantic/build/themes/"
},
"clean": "../../web_src/fomantic/build/"
},
"permission": false,
"autoInstall": false,
"rtl": false,
"admin": false,
"components": [
"accordion",
"api",
"breadcrumb",
"button",
"card",
"checkbox",
"comment",
"container",
"dimmer",
"divider",
"dropdown",
"form",
"grid",
"header",
"icon",
"image",
"input",
"item",
"label",
"list",
"loader",
"menu",
"message",
"modal",
"popup",
"progress",
"reset",
"search",
"segment",
"sidebar",
"site",
"tab",
"table",
"text",
"transition"
]
}