Questions tagged [yuglify]

Yuglify.js is a script intended for JavaScript and CSS compression.

Mainly written in JavaScript and YAML, from YUI , yuglify is a wrapper around 'UglifyJS' and cssmin, the css minification tool used inside of YUICompressor, with the default YUI configurations on each of them. It is available for free download.

It's use is intended for JavaScript and CSS compression, primarily inside the new YUI bulder called shifter.

9 questions
17
votes
2 answers

Yuglify compressor can't find binary from package installed through npm

I have a fresh virtualenv environment and have got the latest django-pipleline. The JS compression with Closure works perfect, but CSS compression with Yuglify fails, due a node error: STATICFILES_STORAGE =…
Houman
  • 64,245
  • 87
  • 278
  • 460
3
votes
2 answers

Strange Issue When Minifying CSS via django-pipeline

I'm using django-pipeline to minify my CSS. Everything minifies correctly until I use PipelineCachedStorage so I can get the versioned, cache-busting filenames. I get the following error: ValueError: The file 'img/glyphicons-halflings.png' could not…
threejeez
  • 2,314
  • 6
  • 30
  • 51
2
votes
1 answer

Heroku Deployment, Yuglify No Such File with Django pipeline

Trying to run collectstatic on deloyment, but running into the following error: pipeline.exceptions.CompressorError: /usr/bin/env: yuglify: No such file or directory When I run collectstatic manually, everything works as…
user3084860
  • 421
  • 5
  • 19
2
votes
1 answer

Minifying static files (js & css) using django-pipeline results in empty files

I have gone through all of the related posts similar to the issue I have, but none of them seem to solve my problem therefore my question. When I run python manage.py collectstatic django-pipeline generates minified css file which has no content.…
kurrodu
  • 2,108
  • 4
  • 32
  • 49
1
vote
0 answers

encoding the contents of assets folder in android cordova app

We are developing a cross platform mobile application. Using apache cordova for this. Our android project structure is like given below, Project - src - gen - assets - bin - res One of the issue we are facing is, once we build the apk…
user867662
  • 1,091
  • 4
  • 20
  • 45
1
vote
1 answer

django-compress not replacing relative urls in css with absolute urls

I'm using django-compress to pre-compress my js and css, which are stored in Amazon S3, using the manage.py compress command. However the issue is that the relative img URLs inside my css are not being replaced with absolute URLs. So I have an…
minch
  • 331
  • 3
  • 13
1
vote
2 answers

Django on Heroku, issue with Yuglify and CollectStatic

I'm using Django-Pipeline to minify my javascript. When I push my project to Heroku and CollectStatic runs, it gives me the error pipeline.exceptions.CompressorError: /usr/bin/env: yuglify: No such file or directory But when I run CollectStatic…
user3084860
  • 421
  • 5
  • 19
0
votes
0 answers

Using and supplying binaries for Yuglify or other filters with Django Compressor?

We've got Django-Compressor working nicely with compressor.filters.jsmin.rJSMinFilter which is installed by default and given by the default setting COMPRESS_FILTERS = {'css': ['compressor.filters.css_default.CssAbsoluteFilter',…
ayy_lmao
  • 25
  • 4
0
votes
2 answers

How to prevent name mangling of javascript functions in django-pipeline

I am using django version 1.82 with django-pipeline. I call a particular javascript function from html by name.
Sharmila
  • 1,637
  • 2
  • 23
  • 30