Home / File/ vite.config.import-attributes.ts — vite Source File

vite.config.import-attributes.ts — vite Source File

Architecture documentation for vite.config.import-attributes.ts, a typescript file in the vite codebase. 1 imports, 0 dependents.

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  e7b38b8c_e004_7da1_0884_2154b5e9a554["vite.config.import-attributes.ts"]
  52ce4896_db4b_ca47_f0e0_db6fe635c7b4["package.json"]
  e7b38b8c_e004_7da1_0884_2154b5e9a554 --> 52ce4896_db4b_ca47_f0e0_db6fe635c7b4
  style e7b38b8c_e004_7da1_0884_2154b5e9a554 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// We have to import external json to prevent Vite / esbuild from bundling it.
import pkg from 'vite/package.json' with { type: 'json' }

export default {
  jsonValue: pkg.name,
}

Dependencies

  • package.json

Frequently Asked Questions

What does vite.config.import-attributes.ts do?
vite.config.import-attributes.ts is a source file in the vite codebase, written in typescript.
What does vite.config.import-attributes.ts depend on?
vite.config.import-attributes.ts imports 1 module(s): package.json.
Where is vite.config.import-attributes.ts in the architecture?
vite.config.import-attributes.ts is located at packages/vite/src/node/__tests__/fixtures/config/entry/vite.config.import-attributes.ts (directory: packages/vite/src/node/__tests__/fixtures/config/entry).

Analyze Your Own Codebase

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

Try Supermodel Free