docs: add running locally section and supporters.json setup note#8029
docs: add running locally section and supporters.json setup note#8029imanchalsingh wants to merge 5 commits intowebpack:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I think we can make it better, adding an empty file and update content during the build |
Thanks for the suggestion! That makes sense. I’ll update the implementation to create an empty file first and populate the content during the build process instead. Appreciate the guidance. |
alexander-akait
left a comment
There was a problem hiding this comment.
Just add an empty file, no need to make a script for this and check we are adding content in _supporters.json on the build step
Actually, the _supporters.json file is ignored by .gitignore, so creating it manually wouldn’t appear for other contributors. That’s why I added a mechanism to auto-generate the file during the build process, ensuring everyone can generate it locally without manual steps. |
|
In this case add a |
Thank you for the suggestion! Adding a fallback makes sense, I’ll take care of it. |
|
@alexander-akait i dont think there is any need for the solution |
|
@TusharThakur04 We can simplify such things, but maybe you are right, in our guide you need to run this |
While trying to run the project locally, I ran into a module error
caused by a missing
_supporters.jsonfile.I’ve added a small "Run Locally" section to the contributing docs to
document the setup steps that worked for me, in case it helps future
contributors. Happy to adjust if this should be placed elsewhere.