Skip to content

Commit

Permalink
Merge pull request #520 from jackjennings/master
Browse files Browse the repository at this point in the history
Require sassc only in development
  • Loading branch information
RobinDaugherty authored Jun 14, 2023
2 parents 55ce4f6 + 6f2d1ea commit 8b1e2c9
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 8b1e2c9

Please sign in to comment.