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

Draft for using bun instead of npm #401

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

borkweb
Copy link
Member

@borkweb borkweb commented Dec 15, 2023

This is just a draft PR so folks can test to see if bun works. The build is fast! I haven't tested functionality.

For Kadence Blocks, on my local machine, npm install and npm run build takes 58s
bun install and bun run build takes 32s

The webpack part of run build takes 28s for each approach

This is just a draft PR so folks can test to see if this works. The build is fast! I haven't tested functionality.
@@ -1,14 +1,16 @@
{
"build": [
"rm -rf vendor",
Copy link
Member Author

Choose a reason for hiding this comment

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

This is added to clean up the vendor dir so Strauss works cleanly each time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant