Home / File/ vite.config-watch.js — vite Source File

vite.config-watch.js — vite Source File

Architecture documentation for vite.config-watch.js, a javascript file in the vite codebase. 3 imports, 0 dependents.

File javascript 3 imports

Entity Profile

Dependency Diagram

graph LR
  7070b104_7ab9_f891_d672_f163f8aca1d0["vite.config-watch.js"]
  51e96894_3556_ed5c_1ede_97d449867adf["node:path"]
  7070b104_7ab9_f891_d672_f163f8aca1d0 --> 51e96894_3556_ed5c_1ede_97d449867adf
  cf687cc4_e681_5bde_69ac_ab4303d465f7["plugin-legacy"]
  7070b104_7ab9_f891_d672_f163f8aca1d0 --> cf687cc4_e681_5bde_69ac_ab4303d465f7
  54c37fea_4fe7_2693_71cb_1276b77f55f9["vite"]
  7070b104_7ab9_f891_d672_f163f8aca1d0 --> 54c37fea_4fe7_2693_71cb_1276b77f55f9
  style 7070b104_7ab9_f891_d672_f163f8aca1d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { resolve } from 'node:path'
import legacy from '@vitejs/plugin-legacy'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [legacy()],
  build: {
    manifest: true,
    rollupOptions: {
      input: {
        'style-only-entry': resolve(
          import.meta.dirname,
          'style-only-entry.css',
        ),
      },
    },
    watch: {},
    outDir: 'dist/watch',
  },
})

Dependencies

  • node:path
  • plugin-legacy
  • vite

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free