Skip to content
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

refactor: normalize vite configs, use tsx for store/world scripts #655

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

dk1a
Copy link
Contributor

@dk1a dk1a commented Apr 20, 2023

@vercel
Copy link

vercel bot commented Apr 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 20, 2023 8:31pm

@dk1a dk1a force-pushed the dk1a/separate-generators-cleanup branch from 7d6aaef to 6f2f434 Compare April 20, 2023 20:30
@dk1a dk1a changed the title refactor: normalize vite configs, cleanup modules.d.ts, use tsx for store/world scripts refactor: normalize vite configs, use tsx for store/world scripts Apr 20, 2023
"build:abi": "forge build --out abi --skip test script",
"build:codegen": "node ./dist/tablegen.js",
"build:codegen": "tsx ./ts/scripts/tablegen.ts",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay! this resolves my comment about the script order

@dk1a dk1a marked this pull request as ready for review April 20, 2023 20:53
@dk1a dk1a requested a review from alvrs as a code owner April 20, 2023 20:53
@holic
Copy link
Member

holic commented Apr 20, 2023

which ups common's bundle size from ~50kB to ~1000kB.

just to clarify, is this just common/codegen's bundle?

I imagine we'll import some common stuff into client code, so just wanna make sure this big bump is isolated to just codegen.

@holic holic merged commit 9f51646 into main Apr 20, 2023
@dk1a
Copy link
Contributor Author

dk1a commented Apr 20, 2023

just to clarify, is this just common/codegen's bundle?

yes, forge for example is unchanged (much less than 1000kB)

@dk1a dk1a deleted the dk1a/separate-generators-cleanup branch April 21, 2023 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants