nuxt-rebundle
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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.

Package Sidebar

Install

npm i nuxt-rebundle

Weekly Downloads

18

Version

0.0.2

License

MIT

Unpacked Size

15.2 kB

Total Files

11

Last publish

Collaborators

  • danielroe