Skip to content

Commit

Permalink
Fixes to CSS @import/sc_require - Fixes #342
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Apr 15, 2011
1 parent cc4cdf5 commit 436b572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/buildtasks/manifest.rake
Expand Up @@ -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
Expand Down

0 comments on commit 436b572

Please sign in to comment.