File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,19 @@ const gz = {
66 name : 'gzip' ,
77 extension : 'gz'
88} ;
9+ const zstd = {
10+ name : 'zstd' ,
11+ extension : 'zst'
12+ } ;
913
1014module . exports = {
1115 '.html' : {
1216 type : 'text/html; charset=utf-8' ,
13- encodings : [ br , gz ]
17+ encodings : [ br , zstd , gz ]
1418 } ,
1519 '.js' : {
1620 type : 'text/javascript; charset=utf-8' ,
17- encodings : [ br , gz ]
21+ encodings : [ br , zstd , gz ]
1822 } ,
1923 '.txt' : {
2024 type : 'text/plain'
@@ -28,7 +32,7 @@ module.exports = {
2832 } ,
2933 '.svg' : {
3034 type : 'image/svg+xml' ,
31- encodings : [ br , gz ]
35+ encodings : [ br , zstd , gz ]
3236 } ,
3337 '.png' : {
3438 type : 'image/png'
@@ -56,11 +60,11 @@ module.exports = {
5660 } ,
5761 '.ttf' : {
5862 type : 'font/ttf' ,
59- encodings : [ br , gz ]
63+ encodings : [ br , zstd , gz ]
6064 } ,
6165 '.otf' : {
6266 type : 'font/otf' ,
63- encodings : [ br , gz ]
67+ encodings : [ br , zstd , gz ]
6468 } ,
6569 '.woff' : {
6670 type : 'font/woff'
You can’t perform that action at this time.
0 commit comments