]> git.maquefel.me Git - brevno-suite/hugo/commit
Fix and add integration test for the Bootstrap SCSS module for both Dart Sass and...
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 29 Feb 2024 18:05:23 +0000 (19:05 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 1 Mar 2024 13:18:52 +0000 (14:18 +0100)
commit0d6e593ffb65a67206caa3c3071d94694cfc2183
tree0ee6049b860bab29456152d0096e6869b66205b5
parent7023cf0f07d07bd943404d88d5fc8f3c5f7c9cc2
Fix and add integration test for the Bootstrap SCSS module for both Dart Sass and Libsass

This fixes the reverse filesystem lookup (absolute filename to path relative to the composite filesystem).

The old logic had some assumptions about the locality of the actual files that didn't work in more complex scenarios.

This commit now also adds the popular Bootstrap SCSS Hugo module to the CI build (both for libsass and dartsass transpiler), so we can hopefully avoid similar future breakage.

Fixes #12178
hugofs/rootmapping_fs.go
hugofs/rootmapping_fs_test.go
hugolib/filesystems/basefs.go
hugolib/hugo_sites_build.go
hugolib/integrationtest_builder.go
resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go
resources/resource_transformers/tocss/scss/scss_integration_test.go