We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da6d2b7 commit 24d3447Copy full SHA for 24d3447
nginx/reana-ui.conf
@@ -3,6 +3,10 @@ server {
3
root /usr/share/nginx/html;
4
server_name localhost;
5
index index.html index.htm;
6
+
7
+ #Enable serving of pre-compressed files
8
+ gzip_static on;
9
10
location / {
11
try_files $uri /index.html;
12
}
reana-ui/package.json
@@ -34,7 +34,8 @@
34
"fmt": "prettier --write .",
35
"ci": "run-p lint prettier",
36
"eject": "craco eject",
37
- "postinstall": "semantic-ui-css-patch"
+ "postinstall": "semantic-ui-css-patch",
38
+ "postbuild": "find build \\( -name '*.js' -o -name '*.css' \\) -exec gzip -k9S .gz {} \\;"
39
},
40
"browserslist": {
41
"production": [
0 commit comments