From aeb09830bc8f2b41700273bb2f6e831a7075c927 Mon Sep 17 00:00:00 2001 From: Victor van Poppelen Date: Mon, 27 Jul 2020 20:38:37 -0700 Subject: [PATCH] fix: bare Sass imports to files with fake extensions If a Sass file attempted to import something like `~module/foo.bar`, our custom resolver would expect `.bar` to be the filetype and would forego appending `.scss` or `.sass`, causing `require.resolve()` to throw an exception. We can be explicit about the filetype by successively testing against `.scss`, `.sass` (depending on configured language in the