Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Samuel Plumppu
@Greenheart@fosstodon.org  ·  activity timestamp 21 hours ago

#Vite plugins sometimes need to run expensive tasks. By controlling when your plugin runs these tasks, you can make both the #Dev server and production builds faster. Here's a quick solution:

What's your best tip for developing Vite plugins?

https://samuelplumppu.se/blog/detect-vite-plugin-restarts-to-avoid-rerunning-expensive-tasks

#TypeScript #JavaScript #WebDev #SvelteKit

Detect Vite Plugin Restarts to Avoid Rerunning Expensive Tasks

Experienced fullstack developer, curious about how tech, systems thinking and Doughnut design for business can be combined to create a positive impact.
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login