diff --git a/lib/stylus/railtie.rb b/lib/stylus/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/stylus/railtie.rb
+++ b/lib/stylus/railtie.rb
@@ -15,6 +15,7 @@ module Stylus
     # Includes the `Rails` asset load path into `stylus` so any
     # `.styl` file inside it can be imported by the `stylus` API.
     config.after_initialize do |app|
+      Stylus.compress = config.assets.compress
       Stylus.paths.concat app.assets.paths
     end
   end
Enable compression if Sprockets is compressing too