-
Notifications
You must be signed in to change notification settings - Fork 14
Migration to Vite Tooling #903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ashutoshpw
wants to merge
31
commits into
master
Choose a base branch
from
feat/vite
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* csv votes download * fix node version * updated dependencies
* desktop update * responsive tables * no items + scroll on other tabs * searchbar * transactions filters working * search bar & filter dialog for token tab * filters & xtz added to list of holdings * nft filters & responsive dialogs * Update FilterNFTDialog.tsx --------- Co-authored-by: Manank Patni <manank321@gmail.com>
* voting grouping & dependencies upgraded * stylings add to tooltip * mobile css * pagination & css fix * votes grouping in csv file * requested changes * decimals for isXTZ * fix * fix
* frontend with mocks * initial integration * API working * ACI Form with various entrypoints * Update node version * Fix for API in ACI * WIP - ACI Implementation Debugging * WIP - ACI Interaction (Pseudocode working) * Error handling + Params now being passed into generated lambda * Changes for adding ACI Executor and simplified UI components * Removed Cycle Ignore Option * Fixed prettier issues * Added ACI Contract within the form & fixed the "Submit" button. * Improved Components for ConfigProposalForm * Removed unused imports * Modal Improvements * Renamed simple lambda 3 to ACI_Executor * Fixed Other UI Issues --------- Co-authored-by: Ashutosh Kumar <ashutosh@w3dev.in> Co-authored-by: Ashutosh Kumar <ashutoshpw@users.noreply.github.com>
β Deploy Preview for tezos-homebase failed. Why did it fail? β
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR migrates the project from using Craco (Create React App Configuration Override) to Vite for significantly improved build performance and modern development experience.
π Key Benefits
π Changes Made
Build System Migration
@craco/craco
andreact-scripts
withvite
and@vitejs/plugin-react
craco.config.js
and createdvite.config.ts
with equivalent configurationpackage.json
scripts:yarn dev
(replacescraco start
)yarn build
(replacescraco build
)yarn preview
(new - preview production build)Configuration & Dependencies
vite-plugin-node-polyfills
to maintain compatibility with crypto, buffer, stream, etc.vite-plugin-svgr
for React component SVG importsREACT_APP_
prefixed variablessrc/
directoryCode Updates
index.html
to root with Vite entry point structure"./App.css"
)?react
suffix for SVGR compatibilityBuild Output
build/
directory structure for deployment compatibility_redirects
file for SPA routingπ Performance Impact
Build times are significantly reduced and development server startup is faster. The warnings about large chunks are expected for this application size and can be addressed in future optimizations if needed.