Rails: Determine whether currently within asset compilation step

24 views Asked by At

We have a method where we'd like it to behave one way when it's being invoked during asset compilation, and another way otherwise. Is there a way to determine whether the code is currently within the context of an asset compilation?

0

There are 0 answers