[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-rebundle. Bundler optimisations for Nuxt
0

Configure Feed

Select the types of activity you want to include in your feed.

TypeScript 75.8%
JavaScript 7.7%
Other 16.5%
404 8 1

Clone this repository

https://git.vm.fail/danielroe.dev/nuxt-rebundle https://git.vm.fail/did:plc:ti4ywba74dtcez2jtogrwqpr
ssh://git@knot1.tangled.sh:2222/danielroe.dev/nuxt-rebundle ssh://git@knot1.tangled.sh:2222/did:plc:ti4ywba74dtcez2jtogrwqpr

For self-hosted knots, clone URLs may differ based on your setup.


README.md

Nuxt Rebundle#

npm version npm downloads Github Actions Codecov

Bundler optimisations for Nuxt

WARNING

This module is a work-in-progress laboratory for exploring bundler optimisations in Nuxt.

Features#

  • ⚡️ automatically splits out useAsyncData fetcher functions into async chunks (for use with static site generation)

Installation#

Install and add nuxt-rebundle to your nuxt.config.

npx nuxi@latest module add nuxt-rebundle
export default defineNuxtConfig({
  modules: ['nuxt-rebundle'],
})

💻 Development#

  • Clone this repository
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Stub module with pnpm dev:prepare
  • Run pnpm dev to start playground in development mode

License#

Made with ❤️

Published under the MIT License.