The Prompt BakeryTemplates and prompts

Fix · Speed

The JavaScript is too big (slow to start)

What you may see

  • The speed tool says reduce unused JavaScript
  • A small page ships a huge script

Most likely cause

A big library imported in full, or code for pages the visitor never opens, is sent to everyone.

Check first (about two minutes)

  1. Run the build's size report (or a bundle analyser, with my permission to add it).

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Find the biggest packages in the page's script and what uses them.
  2. Replace heavy libraries with light ones or native features, import only what is used, and load big pieces only when needed (dynamic import).
  3. Re-measure the size of the first page load.

Do not do this

  • Do not add a bundle tool without telling me.
  • Do not remove features without asking.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.