diff --git a/lib/buildtasks/manifest.rake b/lib/buildtasks/manifest.rake index 34c471e9..5fd90463 100644 --- a/lib/buildtasks/manifest.rake +++ b/lib/buildtasks/manifest.rake @@ -481,7 +481,8 @@ namespace :manifest do next unless File.exist?(src_path) Chance.add_file src_path - chance.map_file(entry.filename, src_path) + # Also remove source/ from the filename for sc_require and @import + chance.map_file(entry.filename.sub(/^source\//, ''), src_path) has_2x_entries = true if src_path.include?("@2x") end