See the commits for the required steps.
When using bud.alias
with SCSS (SASS) (bud-sass
),
you can use the bud
(webpack
) aliases by prefixing them with a tilde sign (~
),
like so
(note: ~@images
used in the example is a predefined alias added by @roots/sage
):
.test {
background: url("~@images/background/test.jpg");
}
Without that tilde sign (~
) the path is not correctly interpolated when compiling the SCSS.
npm
dev
dependencies @roots/bud-sass
and @roots/bud-postcss
have to be installed.
Ensure that all bud
-specific dependencies have the same version (or at least close).