Updated core project to also use rcssmin filter.

This commit is contained in:
Matt Scott 2023-03-10 16:10:42 -05:00
parent 622003a46e
commit 6be6f3d389
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ COPY . /build
# Prepare assets # Prepare assets
RUN yarn install --pure-lockfile --production && \ RUN yarn install --pure-lockfile --production && \
yarn cache clean && \ yarn cache clean && \
sed -i -r -e "s|'cssmin',\s?'cssrewrite'|'rcssmin'|g" /build/powerdnsadmin/assets.py && \ sed -i -r -e "s|'rcssmin',\s?'cssrewrite'|'rcssmin'|g" /build/powerdnsadmin/assets.py && \
flask assets build flask assets build
RUN mv /build/powerdnsadmin/static /tmp/static && \ RUN mv /build/powerdnsadmin/static /tmp/static && \

View File

@ -38,7 +38,7 @@ css_main = Bundle(
'node_modules/admin-lte/dist/css/adminlte.css', 'node_modules/admin-lte/dist/css/adminlte.css',
'custom/css/custom.css', 'custom/css/custom.css',
'node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.css', 'node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.css',
filters=('cssmin', 'cssrewrite'), filters=('rcssmin', 'cssrewrite'),
output='generated/main.css') output='generated/main.css')
js_main = Bundle( js_main = Bundle(