vercel-clone icon indicating copy to clipboard operation
vercel-clone copied to clipboard

Refactored Build Script ,fixed react build and Error Handling

Open nishantnz opened this issue 3 months ago • 0 comments

This pull request enhances the existing build script to improve its functionality, error handling, and logging capabilities. Below is a summary of the changes made

Fixed: #9 (Not dynamic for all build)<- this issue

  1. Implemented dynamic detection of the build output folder to cater to both React (which typically uses the "build" folder) and Vite (which typically uses the "dist" folder) projects. The script identifies the appropriate folder for uploading files, ensuring compatibility with various project structures.

2. Improved Error Handling & Consistent Logging in Redis simultaneously

If you found this helpful Kindly review and merge this pull request at your earliest convenience. Thank you!

nishantnz avatar May 03 '24 13:05 nishantnz