vite · Vite Docs
Vite Vite Build Options
Configures the Vite build process by defining options for output directory, asset handling, minification, CSS splitting, and sourcemap generation.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Vite Vite Build Options
Configures the Vite build process by defining options for output directory, asset handling, minification, CSS splitting, and sourcemap generation.
When To Use
Use when you need to customize the production build output, such as changing the output directory, configuring minification, or managing sourcemaps and CSS splitting in a Vite project.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/vite-build-options-workflow-guide.md | A markdown reference detailing the available configuration options for the Vite build process, including target, module preload, and output directory settings. | Questions about a markdown reference detailing the available configuration options for the Vite build process, including target, modu... |
examples/vite-build-options-configuration-examples.text | A collection of configuration settings and property definitions for the Vite build process. | Exact payloads, commands, or snippets shown in A collection of configuration settings and property definitions for the Vite build process. |
examples/vite-build-options-resolve-module-preload-dependencies-type-definition.text | A TypeScript type definition for the ResolveModulePreloadDependenciesFn function within the Vite build configuration. | Exact payloads, commands, or snippets shown in A TypeScript type definition for the ResolveModulePreloadDependenciesFn function within the Vite build configuration. |
examples/vite-build-options-module-preload-config.text | A configuration example demonstrating the modulePreload object options for the Vite build process. | Exact payloads, commands, or snippets shown in A configuration example demonstrating the modulePreload object options for the Vite build process. |
examples/vite-build-options-esbuild-installation-command.text | The command to install esbuild as a development dependency for Vite build operations. | Exact payloads, commands, or snippets shown in The command to install esbuild as a development dependency for Vite build operations. |
examples/vite-build-options-lib-mode-config.text | A configuration object demonstrating how to use the build.lib option in Vite to define library entry points and file naming patterns. | Exact payloads, commands, or snippets shown in A configuration object demonstrating how to use the build.lib option in Vite to define library entry points and file... |
examples/vite-build-options-configuration.text | A text representation of Vite build configuration options and dependency license metadata. | Exact payloads, commands, or snippets shown in A text representation of Vite build configuration options and dependency license metadata. |
examples/vite-build-options-config.text | A configuration object demonstrating various Vite build options including license and rolldown options. | Exact payloads, commands, or snippets shown in A configuration object demonstrating various Vite build options including license and rolldown options. |
examples/vite-build-options-esbuild-terser-installation.text | The text file provides npm commands for adding esbuild and terser as development dependencies for Vite build configurations. | Exact payloads, commands, or snippets shown in The text file provides npm commands for adding esbuild and terser as development dependencies for Vite build configur... |
What This Skill Covers
- Are you an LLM? You can read better optimized documentation at /config/build-options.md for this page in Markdown format
- Main sections:
build.target ,build.modulePreload ,build.polyfillModulePreload ,build.outDir ,build.assetsDir .
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://vite.dev/config/build-options