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

Broken background-image paths #1129

Open
cyruscollier opened this issue Feb 9, 2018 · 0 comments
Open

Broken background-image paths #1129

cyruscollier opened this issue Feb 9, 2018 · 0 comments

Comments

@cyruscollier
Copy link

Our asset build structure has images in a separate directory from css, so it's css/main.css and images/*. Because of that, our CSS background images all have relative urls ../images/*. The generated styleguide.css path is hardcoded inside appRoot with no way to control the path, so it assumed that all images are within the same directory for every project. I suppose I could use a gulp filter to rewrite image paths on the CSS, but it seems like would be cleaner to provide a config option like stylesheetPath that could be used for all the generated stylesheets.

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

No branches or pull requests

1 participant