Frontend Delivery Build Tools

Standardized guidelines and patterns for Frontend Delivery Build Tools.

valec3 f08a71b 983 B Updated

File contents

Frontend Delivery Build Tools

When to use this skill

  • Configuring build process
  • Optimizing bundle size
  • Setting up Vite/Webpack

Workflow

  • Choose build tool (Vite recommended)
  • Configure for production
  • Optimize bundle size
  • Enable code splitting
  • Analyze bundle

Instructions

Vite Config

// vite.config.ts
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
  plugins: [react()],
  build: {
    rollupOptions: {
      output: {
        manualChunks: {
          vendor: ['react', 'react-dom'],
          ui: ['@radix-ui/react-dialog']
        }
      }
    }
  }
});

Bundle Analysis

npm install -D rollup-plugin-visualizer

Resources

  • Use Vite for modern apps
  • Code split by route
  • Analyze bundle regularly

valec3/Agents.skills.md/tree/main/.agent/skills/frontend-delivery-build-tools commit f08a71ba05

Frequently asked questions

npx skillmds add valec3/frontend-delivery-build-tools