Skip to content

Commit

Permalink
Use unique import urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Apr 4, 2024
1 parent 8417fd1 commit 72399fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sassc/embedded.rb
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def canonicalize(url, context)
imports = [SassC::Importer::Import.new(path)] if imports.nil?
imports = [imports] unless imports.is_a?(Array)

canonical_url = "#{Protocol::IMPORT}#{url}"
canonical_url = "#{Protocol::IMPORT}#{next_id}"
@importer_results[canonical_url] = imports_to_native(imports, File.dirname(parent_path), context.from_import)
canonical_url
end
Expand Down

0 comments on commit 72399fd

Please sign in to comment.