Home / File/ vite.config.js — vite Source File

vite.config.js — vite Source File

Architecture documentation for vite.config.js, a javascript file in the vite codebase. 1 imports, 0 dependents.

File javascript 1 imports

Entity Profile

Dependency Diagram

graph LR
  f7960ae9_cc7f_8e8d_ac21_406026733dc2["vite.config.js"]
  54c37fea_4fe7_2693_71cb_1276b77f55f9["vite"]
  f7960ae9_cc7f_8e8d_ac21_406026733dc2 --> 54c37fea_4fe7_2693_71cb_1276b77f55f9
  style f7960ae9_cc7f_8e8d_ac21_406026733dc2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { defineConfig } from 'vite'

const noExternal = ['@vitejs/test-require-external-cjs']
export default defineConfig({
  ssr: {
    noExternal,
    external: ['@vitejs/test-external-cjs'],
    optimizeDeps: {
      include: noExternal,
    },
  },
  build: {
    target: 'esnext',
    minify: false,
    rollupOptions: {
      external: ['@vitejs/test-external-cjs'],
    },
  },
})

Dependencies

  • vite

Frequently Asked Questions

What does vite.config.js do?
vite.config.js is a source file in the vite codebase, written in javascript.
What does vite.config.js depend on?
vite.config.js imports 1 module(s): vite.
Where is vite.config.js in the architecture?
vite.config.js is located at playground/ssr-noexternal/vite.config.js (directory: playground/ssr-noexternal).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free