json now gets also gzipped
This commit is contained in:
parent
0025f8b0be
commit
3811834927
@ -44,7 +44,7 @@ def remove_prefix(text, prefix):
|
|||||||
|
|
||||||
def gzip_webfiles(source, target, env):
|
def gzip_webfiles(source, target, env):
|
||||||
# Filetypes to compress
|
# Filetypes to compress
|
||||||
filetypes_to_gzip = ['.css', '.png', '.js', '.ico', '.woff2']
|
filetypes_to_gzip = ['.css', '.png', '.js', '.ico', '.woff2', '.json']
|
||||||
print('\nGZIP: Starting gzip-Process for LittleFS-Image...\n')
|
print('\nGZIP: Starting gzip-Process for LittleFS-Image...\n')
|
||||||
data_src_dir_path = os.path.join(env.get('PROJECT_DIR'), 'data_src')
|
data_src_dir_path = os.path.join(env.get('PROJECT_DIR'), 'data_src')
|
||||||
data_dir_path = env.get('PROJECT_DATA_DIR')
|
data_dir_path = env.get('PROJECT_DATA_DIR')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user