Vuepress should fail if imported code snippets is not found #1872
Labels
contribution welcome
Contributions welcome
Hacktoberfest
Good issue for Hacktoberfest challenge
status: community assigned
Community assigned
Feature request
What problem does this feature solve?
Currently, when trying to import a code snippet from a non-existing file, vuepress will create a snippet that says "File not found".
Input:
Output:
This is a problem because it results in broken documentation. In a CI/CD environment it would be great to surface this problem early.
What does the proposed API look like?
Vuepress should fail to render if a code snippet isn't found.
How should this be implemented in your opinion?
Are you willing to work on this yourself?
The text was updated successfully, but these errors were encountered: