@decodelabs/vite-plugin-castaway
v0.1.0
Published
Vite plugin for DecodeLabs Castaway integration
Downloads
4
Readme
Castaway Vite Plugin
Usage
This plugin provides a manual chunking strategy for Castaway projects, handling the different component frameworks used in your app and optimising page chunks.
npm install -D @decodelabs/vite-plugin-castawayAdd the plugin to your Vite config:
import castaway from '@decodelabs/vite-plugin-castaway'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [
castaway()
],
})Licensing
Castaway is licensed under the MIT License. See LICENSE for the full license text.
