minor build tweak
This commit is contained in:
parent
4652de9a1c
commit
9904c999d0
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ module Middleman
|
|||
|
||||
handled_by_tilt = ::Tilt.mappings.keys.include?(file_extension.gsub(/^\./, ""))
|
||||
if handled_by_tilt || (file_extension == ".js")
|
||||
new_file_extension = ""
|
||||
new_file_extension = (file_extension == ".js") ? ".js" : ""
|
||||
next if file_source.split('/').last.split('.').length < 3
|
||||
|
||||
file_destination.gsub!(file_extension, new_file_extension)
|
||||
|
|
Loading…
Reference in a new issue