You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using the custom SCSS option returns this error with no specific customization, using Astro 5.
To Reproduce
Using Astro 5 with this package, tried using the SCSS as previously by doing
@use"astro-breadcrumbs/breadcrumbs.scss";
in my SCSS file, but it doesn't seem to work, printing this error:
14:25:37 [ERROR] [sass] The canonicalize() method must return a URL.
╷
1 │ @use "astro-breadcrumbs/breadcrumbs.scss";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src\styles\astro-breadcrumbs-config.scss 1:1 root stylesheet
Reference repository: filloax.github.io (link is at a commit where this happens once the @use breadcrumbs is uncommented in the file mentioned in the error above)
Expected behavior
This compiling the SCSS successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Hi @filloax,
I have just had a look at your project locally (Win 11 on WSL 2 -> Ubuntu LTS). Apart from the Vite and Angular error, I was able to compile normally. I could not detect any SASS errors.
Additional context I discovered after some more testing, it seems to only happen when opening a page that actually imports the breadcrumbs config SCSS (I initially assumed all the scss files were precompiled, it seems not in astro dev). Also, to be clear, I worked around this in the later commits by copying the scss from astro-breadcrumbs with a pre-build script, so only the commits up to the one I linked should have that issue.
Describe the bug
Using the custom SCSS option returns this error with no specific customization, using Astro 5.
To Reproduce
Using Astro 5 with this package, tried using the SCSS as previously by doing
in my SCSS file, but it doesn't seem to work, printing this error:
Reference repository: filloax.github.io (link is at a commit where this happens once the @use breadcrumbs is uncommented in the file mentioned in the error above)
Expected behavior
This compiling the SCSS successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
astro-breadcrumbs usage:
astro config:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: