mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-10-31 15:40:01 +01:00 
			
		
		
		
	Remplacement de yuglify par uglify, plus récent
This commit is contained in:
		| @@ -4,12 +4,10 @@ ENV PYTHONUNBUFFERED 1 | ||||
| ENV DJANGO_ALLOW_ASYNC_UNSAFE 1 | ||||
|  | ||||
| RUN apk add --no-cache gettext nginx gcc git libc-dev libffi-dev libpq-dev libxml2-dev libxslt-dev \ | ||||
|     npm libmagic texlive texmf-dist-fontsrecommended texmf-dist-lang texmf-dist-latexextra | ||||
|     libmagic texlive texmf-dist-fontsrecommended texmf-dist-lang texmf-dist-latexextra uglify-js | ||||
|  | ||||
| RUN apk add --no-cache bash | ||||
|  | ||||
| RUN npm install -g yuglify | ||||
|  | ||||
| RUN mkdir /code /code/docs | ||||
| WORKDIR /code | ||||
| COPY requirements.txt /code/requirements.txt | ||||
|   | ||||
| @@ -213,6 +213,7 @@ STATICFILES_FINDERS = ( | ||||
|  | ||||
| PIPELINE = { | ||||
|     'DISABLE_WRAPPER': True, | ||||
|     'JS_COMPRESSOR': 'pipeline.compressors.uglifyjs.UglifyJSCompressor', | ||||
|     'JAVASCRIPT': { | ||||
|         'main': { | ||||
|             'source_filenames': ( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user