Skip to content

fix srcset transform module not resovling alias path #1038

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

Closed
wants to merge 1 commit into from

Conversation

lemures-t
Copy link

srcset transform module cannot handle alias path correctly.
e.g.

<img srcset="~assets/[email protected] 2x" />

It is caused by parsing url started with ~ in /lib/template-compiler/modules/transform-srcset.js, line 50.
Fixed with more test unit is added in test.js
After all, many thanks to @AndreKR 's adding support for srcset

@lemures-t
Copy link
Author

Fixed by #1021 and already released by v13.4.0. Closed.

@lemures-t lemures-t closed this Nov 7, 2017
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.

1 participant