Joined February 2017
·
Posted to
Exclude any js file from uglifier optimization during assets:precompile
over 1 year
ago
I think would be better to override the "compile" method instead of the private "really_compile", because the private one changed, and may keep changing since the interface is private.
TLDR: replace def really_compile(source, generated_map)
by def compile(source)
.
Ref: https://github.com/lautis/uglifier/commit/aba46d4fb36db6c507306b54b48c39fb09fbc6da
Posted to
Use ⌥ ← and ⌥→ to jump forwards / backwards words in iTerm 2, on OS X
over 1 year
ago
Thank you very much!
Achievements
1 Karma
0 Total ProTip Views

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language

Honey Badger
Have at least one original Node.js-specific repo

T-Rex
Have at least one original repo where C is the dominant language
EDIT: the desired method is
compress
instead ofcompile
as the Rails guides suggests: http://guides.rubyonrails.org/asset_pipeline.html#using-your-own-compressor