mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-05-01 15:31:32 +00:00
Remplacement de yuglify par uglify, plus récent
This commit is contained in:
parent
08805a6360
commit
2e613799c9
@ -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': (
|
||||
|
Loading…
x
Reference in New Issue
Block a user