vite.config.js — vite Source File
Architecture documentation for vite.config.js, a javascript file in the vite codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR cb21c9be_cc9c_c0f9_509b_a0de8e2454e8["vite.config.js"] 54c37fea_4fe7_2693_71cb_1276b77f55f9["vite"] cb21c9be_cc9c_c0f9_509b_a0de8e2454e8 --> 54c37fea_4fe7_2693_71cb_1276b77f55f9 style cb21c9be_cc9c_c0f9_509b_a0de8e2454e8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { defineConfig } from 'vite'
process.env.EXPAND = 'expand'
export default defineConfig({
base: '/env/',
envPrefix: ['VITE_', 'CUSTOM_PREFIX_'],
build: {
outDir: 'dist/env',
},
define: {
'import.meta.env.VITE_BOOL': true,
'import.meta.env.VITE_NUMBER': '123',
'import.meta.env.VITE_STRING': JSON.stringify('{"123",}'),
'import.meta.env.VITE_STRINGIFY_OBJECT': JSON.stringify({ a: '1', b: '2' }),
},
})
Dependencies
- vite
Source
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/env/vite.config.js (directory: playground/env).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free