vite.config-relative-base.js — vite Source File
Architecture documentation for vite.config-relative-base.js, a javascript file in the vite codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 1c233b5c_0266_5890_42e6_7c23ed08b8ce["vite.config-relative-base.js"] 20d4b7dc_5732_43e7_ff19_a382aba5dfc5["vite.config.js"] 1c233b5c_0266_5890_42e6_7c23ed08b8ce --> 20d4b7dc_5732_43e7_ff19_a382aba5dfc5 54c37fea_4fe7_2693_71cb_1276b77f55f9["vite"] 1c233b5c_0266_5890_42e6_7c23ed08b8ce --> 54c37fea_4fe7_2693_71cb_1276b77f55f9 style 1c233b5c_0266_5890_42e6_7c23ed08b8ce fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { defineConfig } from 'vite'
import baseConfig from './vite.config.js'
export default defineConfig(({ isPreview }) => ({
...baseConfig,
base: !isPreview ? './' : '/relative-base/', // relative base to make dist portable
build: {
...baseConfig.build,
outDir: 'dist/relative-base',
watch: null,
minify: false,
assetsInlineLimit: 0,
rollupOptions: {
output: {
entryFileNames: 'entries/[name].js',
chunkFileNames: 'chunks/[name]-[hash].js',
assetFileNames: 'other-assets/[name]-[hash][extname]',
},
},
},
cacheDir: 'node_modules/.vite-relative-base',
}))
Domain
Dependencies
- vite
- vite.config.js
Source
Frequently Asked Questions
What does vite.config-relative-base.js do?
vite.config-relative-base.js is a source file in the vite codebase, written in javascript. It belongs to the ViteCore domain.
What does vite.config-relative-base.js depend on?
vite.config-relative-base.js imports 2 module(s): vite, vite.config.js.
Where is vite.config-relative-base.js in the architecture?
vite.config-relative-base.js is located at playground/css/vite.config-relative-base.js (domain: ViteCore, directory: playground/css).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free