-
For example, there are some json files in my project. How can I prevent them from being accessed? I have tried srcExclude with no success. |
Beta Was this translation helpful? Give feedback.
Answered by
brc-dd
Mar 22, 2024
Replies: 1 comment 3 replies
-
Are those files stored in public directory? If not then they won't be included in dist in production build. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try running vitepress build then preview command. Those JSON files won't be directly accessible. You don't need to configure anything.