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 error reporting #262

Open
alexander-akait opened this issue Mar 18, 2020 · 0 comments
Open

Improve error reporting #262

alexander-akait opened this issue Mar 18, 2020 · 0 comments

Comments

@alexander-akait
Copy link
Member

  • Operating System: any
  • Node Version: any
  • NPM Version: any
  • webpack Version: any
  • html-loader Version: 1

Feature Proposal

Suggestions:

  • Report about invalid srcset
    • Starts with empty image-candidate string at ${input}
    • Empty image-candidate string at "${input}"
    • Ends with empty image-candidate string at "${input}"
  • Using code frames for errors, it is allow to find errors easy.

Feature Use Case

Better DX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant