vercel
vercel copied to clipboard
[frameworks] Add VuePress and VitePress
This PR adds VuePress and VitePress the list of supported frameworks.
- https://vuepress-starter-template.vercel.app
- https://vitepress-starter-template.vercel.app
Tests
- [x] The code changed/added as part of this PR has been covered with tests
- [x] All tests pass locally with
yarn test-unit
I wonder if we need the VITE_
prefix: https://github.com/vercel/vercel/blob/main/packages/frameworks/src/frameworks.ts#L1997
I wonder if we need the VITE_ prefix: https://github.com/vercel/vercel/blob/main/packages/frameworks/src/frameworks.ts#L1997
The prefix is used to feed the deployment with the Vercel system environment variables as "public" environment variables. Typically this is a prefix that the framework will document as a way to mark an environment "safe" to be exposed public, like NEXT_PUBLIC_
.
I could not find anything related to it in the respective docs (Vitepress and Vuepress), so I think it's fine to leave them out.
Maybe we should include this: https://twitter.com/KiaKing85/status/1532019802055000070
Agreed. Waiting until stable 1.0.0 makes sense unless we can get a garantee from the framework author that build/dev/output settings won't change.
@lydiahallie @leerob This appears to be causing failures for a popular OSS project called RSSHub
https://github.com/DIYgod/RSSHub/issues/11647#issuecomment-1410789482