Skip to content

Commit 1a4d86b

Browse files
committedSep 23, 2021
Fix sassc bug with sprockets v4 in dummy app
rails/sprockets#581 (comment)
1 parent 9dd816d commit 1a4d86b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 
+7-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# Be sure to restart your server when you modify this file.
22

33
# Version of your assets, change this if you want to expire all your assets.
4-
Rails.application.config.assets.version = '1.0'
4+
Rails.application.config.assets.version = "1.0"
55

66
# Add additional assets to the asset load path
77
# Rails.application.config.assets.paths << Emoji.images_path
88

99
# Precompile additional assets.
1010
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
1111
# Rails.application.config.assets.precompile += %w( search.js )
12+
13+
# Fixes a bug with sprockets v4
14+
# https://github.com/rails/sprockets/issues/581#issuecomment-486984663
15+
Rails.application.config.assets.configure do |env|
16+
env.export_concurrent = false
17+
end

0 commit comments

Comments
 (0)
Please sign in to comment.