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

Display a warning when a file from src cannot be resolved #174

Closed
illright opened this issue Jun 9, 2020 · 1 comment
Closed

Display a warning when a file from src cannot be resolved #174

illright opened this issue Jun 9, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@illright
Copy link
Contributor

illright commented Jun 9, 2020

Is your feature request related to a problem? Please describe.
If one accidentally mistypes the URL to an external file, they'll only notice it when the usage of that file will fail. For instance, for stylesheets, it is particularly hard to notice.

Describe the solution you'd like
Whenever a resolution of an external file fails, print an error to the console.

Describe alternatives you've considered
Failing with an error upon failed resolution, but that's not very handy, especially if we're talking about typos which are fixed soon afterwards.

How important is this feature to you?
Not really a life-and-death matter, but would be nice to have and might be relatively simple to implement.

@kaisermann kaisermann self-assigned this Jul 1, 2020
@kaisermann kaisermann added the enhancement New feature or request label Jul 1, 2020
@kaisermann
Copy link
Member

Hey @illright 👋 Sorry for taking so long to answer! It makes complete sense to make it a clearer when a src file is not found. I added a simple console.warn to v3.9.11 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants