There used to be a single manifest.yml
file. Now we have multiple manifest-*.json
files. How does rails know which one to use?
曾经有一个manifest.yml文件。现在我们有多个manifest - * .json文件。 rails如何知道使用哪一个?
1 个解决方案
#1
0
According to the Sprockets source, it just picks the first one. See line 50 here: https://github.com/sstephenson/sprockets/blob/master/lib/sprockets/manifest.rb
根据Sprockets的消息来源,它只选择了第一个。请参见此处的第50行:https://github.com/sstephenson/sprockets/blob/master/lib/sprockets/manifest.rb
#1
0
According to the Sprockets source, it just picks the first one. See line 50 here: https://github.com/sstephenson/sprockets/blob/master/lib/sprockets/manifest.rb
根据Sprockets的消息来源,它只选择了第一个。请参见此处的第50行:https://github.com/sstephenson/sprockets/blob/master/lib/sprockets/manifest.rb