Skip to content

feat: configure precise namespace imports for bundle optimization#225

Open
chinecherem58 wants to merge 1 commit into
StellarFlow-Network:mainfrom
chinecherem58:feat/optimize-package-imports
Open

feat: configure precise namespace imports for bundle optimization#225
chinecherem58 wants to merge 1 commit into
StellarFlow-Network:mainfrom
chinecherem58:feat/optimize-package-imports

Conversation

@chinecherem58
Copy link
Copy Markdown

Configure precise namespace imports for bundle optimization

  • Replaced import Fuse from 'fuse.js' with import Fuse from 'fuse.js/basic' in search-worker.ts
    to use the minimal build, excluding unused extended search operators.
  • Added framer-motion, @tanstack/react-virtual, and @tanstack/react-query to
    optimizePackageImports in next.config.ts so the Next.js compiler tree-shakes these packages to
    only the exports actually used, reducing bundle size.
    closes 🛠️ Perf | Tree Shaking Large Data Helper Libraries #167

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@chinecherem58 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

🛠️ Perf | Tree Shaking Large Data Helper Libraries

1 participant