Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add default aliases for assets #3215

Merged
merged 2 commits into from
Feb 2, 2025

Conversation

csorrentino
Copy link
Contributor

Adds the same default aliases as the @roots/sage bud extension. Allows hashed asset paths to be referenced in css & js.
For example: background-color:url('@images/example.jpg');

csorrentino and others added 2 commits January 28, 2025 22:07
Adds the same default aliases as the @roots/sage bud extension
Copy link
Member

@retlehs retlehs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! Heads up - I pushed an update to remove the beginning / since they weren't needed in my testing, but please let me know if this breaks anything

I'll be getting some proper e2e tests setup soon, too

@retlehs retlehs merged commit 8d5a1ac into roots:main Feb 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants