1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-29 15:01:04 +02:00

Don't minify what is already minified

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-06-07 16:21:18 +02:00
parent 9bf3b7dff0
commit 2a775cedc1
4 changed files with 22 additions and 39 deletions

View File

@ -206,25 +206,6 @@ STATICFILES_FINDERS = (
PIPELINE = {
'DISABLE_WRAPPER': True,
'JAVASCRIPT': {
'bootstrap': {
'source_filenames': {
'bootstrap/js/bootstrap.bundle.min.js',
},
'output_filename': 'tfjm/js/bootstrap.bundle.min.js',
},
'jquery': {
'source_filenames': {
'jquery/jquery.min.js',
},
'output_filename': 'tfjm/js/jquery.min.js',
},
'bootstrap_select': {
'source_filenames': {
'bootstrap-select/js/bootstrap-select.min.js',
'bootstrap-select/js/defaults-fr_FR.min.js',
},
'output_filename': 'tfjm/js/bootstrap-select-jquery.min.js',
},
'main': {
'source_filenames': (
'tfjm/js/main.js',
@ -251,17 +232,6 @@ PIPELINE = {
'output_filename': 'tfjm/js/draw.min.js',
},
},
'STYLESHEETS': {
'bootstrap_fontawesome': {
'source_filenames': (
'bootstrap/css/bootstrap.min.css',
'fontawesome/css/all.css',
'fontawesome/css/v4-shims.css',
'bootstrap-select/css/bootstrap-select.min.css',
),
'output_filename': 'tfjm/css/bootstrap_fontawesome.min.css',
}
},
}
MEDIA_URL = '/media/'