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

Improve css compiler #80

Merged
merged 1 commit into from
Mar 15, 2022
Merged

Improve css compiler #80

merged 1 commit into from
Mar 15, 2022

Conversation

brenogazzola
Copy link
Collaborator

Improves on #50
Closes #78

Instead of stripping everything after the file extension, let's preserve it.
Also, make the regex less greedy.

@flipsasser could you confirm if this works for both your bugs?
@kevynlebouille or @HLFH would you mind checking if your uses cases are still working correctly?

@flipsasser
Copy link

@brenogazzola just confirmed locally - it's working spectacularly, thank you!

@brenogazzola brenogazzola marked this pull request as ready for review March 9, 2022 14:26
@HLFH
Copy link

HLFH commented Mar 15, 2022


# Propshaft, the new Rails Asset Pipeline
gem 'propshaft', git: "https://github.com/rails/propshaft", branch: "improve-css-asset"

I don't have any issues with this branch as far as I know. You can merge.

@brenogazzola
Copy link
Collaborator Author

Thanks!

@brenogazzola brenogazzola merged commit e6a6fe8 into main Mar 15, 2022
@brenogazzola brenogazzola deleted the improve-css-asset branch March 15, 2022 20:55
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.

CssAssetCompiler is stripping anchors from SVG sprites
3 participants