DEV: Correct sourceMappingURL regex (#23504)
This comment isn't necessarily on a line by itself, so we need to remove the `^` from the regex. This will fix `EMBER_ENV=development bin/rake assets:precompile`
This commit is contained in:
parent
935625ce2c
commit
055d29d898
|
@ -60,7 +60,7 @@ module EmberCli
|
|||
end
|
||||
|
||||
def self.parse_source_map_path(file)
|
||||
File.read("#{dist_dir}/assets/#{file}")[%r{^//# sourceMappingURL=(.*)$}, 1]
|
||||
File.read("#{dist_dir}/assets/#{file}")[%r{//# sourceMappingURL=(.*)$}, 1]
|
||||
end
|
||||
|
||||
def self.is_ember_cli_asset?(name)
|
||||
|
|
Loading…
Reference in New Issue