Removes pre-compilation expression to match all files
This commit is contained in:
@@ -51,19 +51,6 @@ module Nineminutes
|
||||
|
||||
config.assets.initialize_on_precompile = false
|
||||
|
||||
# precompile all assets that don't start with an underscore '_'
|
||||
# so we don't have to list all of them here. This is similar to
|
||||
# the view layer where files with '_' are partials which are only
|
||||
# included in other files.
|
||||
# idea taken from: https://github.com/rails/rails/issues/3094
|
||||
config.assets.precompile = [ /
|
||||
^ # Start of path
|
||||
((.*?)\/)? # Any directories
|
||||
(?!_) # Leading underscore
|
||||
[^\/]* # Everything else
|
||||
$ # End of path
|
||||
/x ]
|
||||
|
||||
# Defaults to '/assets'
|
||||
# config.assets.prefix = '/asset-files'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user