Skip to content

Commit

Permalink
Require sassc only in development
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjennings committed May 30, 2023
1 parent 55ce4f6 commit 6f2d1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/better_errors/error_page_style.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
require "sassc"

module BetterErrors
# @private
module ErrorPageStyle
def self.compiled_css(for_deployment = false)
require "sassc"

style_dir = File.expand_path("style", File.dirname(__FILE__))
style_file = "#{style_dir}/main.scss"

Expand Down

0 comments on commit 6f2d1ea

Please sign in to comment.