vite.config-relative-base-iife.js — vite Source File
Architecture documentation for vite.config-relative-base-iife.js, a javascript file in the vite codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 10104203_0dfe_78ee_63d3_06649064564b["vite.config-relative-base-iife.js"] 21773861_3e8d_df41_79a7_889aeee438a8["worker-plugin-test-plugin.js"] 10104203_0dfe_78ee_63d3_06649064564b --> 21773861_3e8d_df41_79a7_889aeee438a8 54c37fea_4fe7_2693_71cb_1276b77f55f9["vite"] 10104203_0dfe_78ee_63d3_06649064564b --> 54c37fea_4fe7_2693_71cb_1276b77f55f9 style 10104203_0dfe_78ee_63d3_06649064564b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { defineConfig } from 'vite'
import workerPluginTestPlugin from './worker-plugin-test-plugin'
export default defineConfig(({ isPreview }) => ({
base: !isPreview ? './' : '/relative-base-iife/',
resolve: {
alias: {
'@': import.meta.dirname,
},
},
worker: {
format: 'iife',
plugins: () => [workerPluginTestPlugin()],
rollupOptions: {
output: {
assetFileNames: 'worker-assets/worker_asset-[name]-[hash].[ext]',
chunkFileNames: 'worker-chunks/worker_chunk-[name]-[hash].js',
entryFileNames: 'worker-entries/worker_entry-[name]-[hash].js',
},
},
},
build: {
outDir: 'dist/relative-base-iife',
assetsInlineLimit: (filePath) =>
filePath.endsWith('.svg') ? false : undefined,
rollupOptions: {
output: {
assetFileNames: 'other-assets/[name]-[hash].[ext]',
chunkFileNames: 'chunks/[name]-[hash].js',
entryFileNames: 'entries/[name]-[hash].js',
},
},
},
plugins: [workerPluginTestPlugin()],
cacheDir: 'node_modules/.vite-relative-base-iife',
}))
Domain
Dependencies
Source
Frequently Asked Questions
What does vite.config-relative-base-iife.js do?
vite.config-relative-base-iife.js is a source file in the vite codebase, written in javascript. It belongs to the ViteCore domain.
What does vite.config-relative-base-iife.js depend on?
vite.config-relative-base-iife.js imports 2 module(s): vite, worker-plugin-test-plugin.js.
Where is vite.config-relative-base-iife.js in the architecture?
vite.config-relative-base-iife.js is located at playground/worker/vite.config-relative-base-iife.js (domain: ViteCore, directory: playground/worker).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free