Skip to content

Commit c719179

Browse files
kennyadslelia
authored andcommitted
Add a DummyApp sprockets 4 configuration manifest
This is needed from Sprockets, since v4. It contains all dependecies that needs to be compiled.
1 parent 8411f05 commit c719179

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

core/lib/spree/testing_support/dummy_app.rb

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ class Application < ::Rails::Application
123123
ActiveRecord::Migrator.migrations_paths = migration_dirs
124124
ActiveRecord::Migration.verbose = false
125125

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

0 commit comments

Comments
 (0)