Home / File/ vite.config-encoded-base.js — vite Source File

vite.config-encoded-base.js — vite Source File

Architecture documentation for vite.config-encoded-base.js, a javascript file in the vite codebase. 2 imports, 0 dependents.

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

import { defineConfig } from 'vite'
import baseConfig from './vite.config.js'

/** see `ports` variable in test-utils.ts */
const port = 9524

export default defineConfig({
  ...baseConfig,
  // Vite should auto-encode  this as `/foo%20bar/` internally
  base: '/foo bar/',
  server: {
    port,
    strictPort: true,
  },
  build: {
    ...baseConfig.build,
    outDir: 'dist/encoded-base',
    watch: null,
    minify: false,
    assetsInlineLimit: 0,
    rollupOptions: {
      output: {
        entryFileNames: 'entries/[name].js',
        chunkFileNames: 'chunks/[name]-[hash].js',
        assetFileNames: 'other-assets/[name]-[hash][extname]',
      },
    },
  },
  preview: {
    port,
    strictPort: true,
  },
  cacheDir: 'node_modules/.vite-encoded-base',
})

Domain

Dependencies

Frequently Asked Questions

What does vite.config-encoded-base.js do?
vite.config-encoded-base.js is a source file in the vite codebase, written in javascript. It belongs to the ViteCore domain.
What does vite.config-encoded-base.js depend on?
vite.config-encoded-base.js imports 2 module(s): vite, vite.config.js.
Where is vite.config-encoded-base.js in the architecture?
vite.config-encoded-base.js is located at playground/assets/vite.config-encoded-base.js (domain: ViteCore, directory: playground/assets).

Analyze Your Own Codebase

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

Try Supermodel Free