Any tips to speed up `plasmo build` build times?

There are times I find myself developing and building my extension using plasmo build instead of plasmo dev in sessions where I need to do lots of code edits, and I don't want the hot-reload firing on every file save - which results in increased CPU load on my machine.

But as you can see in the screenshot the builds can take up to 9-13 seconds - not the best when in the flow of things.

Are there any ways I can improve this?

Are there ways to make pnpm dev less intensive on resources when there are frequent file saves being made? I notice sometimes if I make changes too often between many files, the changes do not even appear and I have to do a full refresh.

Thanks
image.png
Was this page helpful?