Skip to content

Commit

Permalink
Add a DummyApp sprockets 4 configuration manifest
Browse files Browse the repository at this point in the history
This is needed from Sprockets, since v4. It contains
all dependecies that needs to be compiled.
  • Loading branch information
kennyadsl authored and elia committed Jan 3, 2024
1 parent 8411f05 commit c719179
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/spree/testing_support/dummy_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class Application < ::Rails::Application
ActiveRecord::Migrator.migrations_paths = migration_dirs
ActiveRecord::Migration.verbose = false

config.assets.config_manifest = File.expand_path('dummy_app/assets/config/manifest.js', __dir__)
config.assets.paths << File.expand_path('dummy_app/assets/javascripts', __dir__)
config.assets.paths << File.expand_path('dummy_app/assets/stylesheets', __dir__)
config.assets.css_compressor = nil
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This manifest is left empty because we are already
// injecting Solidus manifests to be compiled in the
// precompile array manually.

0 comments on commit c719179

Please sign in to comment.