Home / File/ vite.named-exports.config.js — vite Source File

vite.named-exports.config.js — vite Source File

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

File javascript 2 imports

Entity Profile

Dependency Diagram

graph LR
  ca079e1d_1239_3660_7b41_f8c0a34cbe7d["vite.named-exports.config.js"]
  51e96894_3556_ed5c_1ede_97d449867adf["node:path"]
  ca079e1d_1239_3660_7b41_f8c0a34cbe7d --> 51e96894_3556_ed5c_1ede_97d449867adf
  54c37fea_4fe7_2693_71cb_1276b77f55f9["vite"]
  ca079e1d_1239_3660_7b41_f8c0a34cbe7d --> 54c37fea_4fe7_2693_71cb_1276b77f55f9
  style ca079e1d_1239_3660_7b41_f8c0a34cbe7d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import path from 'node:path'
import { defineConfig } from 'vite'

export default defineConfig({
  esbuild: {
    supported: {
      // Force esbuild inject helpers to test regex
      'object-rest-spread': false,
    },
  },
  build: {
    lib: {
      entry: path.resolve(import.meta.dirname, 'src/main-named.js'),
      name: 'MyLibNamed',
      formats: ['umd', 'iife'],
      fileName: 'my-lib-named',
    },
    outDir: 'dist/named',
  },
})

Dependencies

  • node:path
  • vite

Frequently Asked Questions

What does vite.named-exports.config.js do?
vite.named-exports.config.js is a source file in the vite codebase, written in javascript.
What does vite.named-exports.config.js depend on?
vite.named-exports.config.js imports 2 module(s): node:path, vite.
Where is vite.named-exports.config.js in the architecture?
vite.named-exports.config.js is located at playground/lib/vite.named-exports.config.js (directory: playground/lib).

Analyze Your Own Codebase

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

Try Supermodel Free