Open sunbohong opened 3 years ago
I wonder how is this hexo
field being used internally? Why is it required? Thanks.
It is not, or maybe just to obtain the hexo version
It's here to ensure that we are in an hexo site folder, with all the expected folders available Theme, sources, config yml,
But indeed, we could test for the files that are required and not test for this field.
Am I wrong @hexojs/core ?
I think the hexo
field is required - at least when deploying to Vercel.
Vercel will fail the build if it is omitted, though I don't know what it is for exactly.