Skip to content

Commit

Permalink
remove sprockets config
Browse files Browse the repository at this point in the history
  • Loading branch information
langalex committed Dec 17, 2024
1 parent ee5cbff commit 23ccffc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 31 deletions.
3 changes: 0 additions & 3 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@
# Highlight code that enqueued background job in logs.
config.active_job.verbose_enqueue_logs = true

# Suppress logger output for asset requests.
config.assets.quiet = true

# Raises error for missing translations.
# config.i18n.raise_on_missing_translations = true

Expand Down
6 changes: 0 additions & 6 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
# Enable static file serving from the `/public` folder (turn off if using NGINX/Apache for it).
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?

# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false

# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.asset_host = "http://assets.example.com"

Expand Down
14 changes: 0 additions & 14 deletions config/initializers/assets.rb

This file was deleted.

8 changes: 0 additions & 8 deletions lib/comfortable_media_surfer/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@

module ComfortableMediaSurfer
class Engine < ::Rails::Engine
initializer 'comfortable_media_surfer.setup_assets' do
::ComfortableMediaSurfer::Engine.config.assets.precompile += %w[
comfy/admin/cms/application.js
comfy/admin/cms/application.css
comfy/admin/cms/lib/redactor-font.eot
]
end

config.to_prepare do
Dir.glob("#{Rails.root}app/decorators/comfortable_media_surfer/*_decorator*.rb").each do |c|
require_dependency(c)
Expand Down

0 comments on commit 23ccffc

Please sign in to comment.