{"library":"nuxt-rebundle","title":"Nuxt Rebundle","description":"Nuxt Rebundle is an experimental Nuxt module designed to explore and implement advanced bundler optimizations for Nuxt applications. As of version 0.0.2, it is a 'work-in-progress laboratory,' focusing primarily on automatically splitting `useAsyncData` fetcher functions into asynchronous chunks. This feature is particularly beneficial for static site generation (SSG) scenarios to improve initial page load performance by deferring the loading of data-fetching logic until it's needed. Due to its early development stage, there is no predictable release cadence, and the module should be approached with caution as its API and internal workings are subject to frequent changes. Key differentiators include its tight integration with Nuxt's build process to automatically apply specific optimization patterns that might otherwise require complex manual configuration, though its feature set is currently limited to `useAsyncData` splitting.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install nuxt-rebundle"],"cli":null},"imports":["export default defineNuxtConfig({\n  modules: ['nuxt-rebundle'],\n});","N/A (Nuxt 3 configurations are primarily ESM)","Nuxt handles module type inference automatically for registered modules."],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npx nuxi@latest module add nuxt-rebundle\n\n// nuxt.config.ts\nimport { defineNuxtConfig } from 'nuxt';\n\nexport default defineNuxtConfig({\n  modules: [\n    // Register the nuxt-rebundle module.\n    // Note: No configuration options are currently exposed or documented.\n    'nuxt-rebundle'\n  ],\n  // Other Nuxt configuration...\n  devtools: { enabled: true }\n});\n","lang":"typescript","description":"Illustrates how to install `nuxt-rebundle` via `nuxi` and register it in `nuxt.config.ts`.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}