A collection of custom plugins designed to enhance the functionality of the Vite build tool.
-
vite-plugin-combine - Combines multiple module files into a single target file. It supports four modes: named exports, default exports, auto exports, and no exports, and automatically generates corresponding import statements based on configuration.
-
vite-plugin-cp - A Vite plugin for copying files/directories, supporting flexible content transformations, directory structure preservation or flattening, and custom file renaming.
-
vite-plugin-external - Excludes specified module dependencies from runtime code and bundled outputs.
-
vite-plugin-hook-use - Displays the sequence and frequency of Vite's hook function invocations.
-
vite-plugin-include-css - Bundles all CSS into a single JavaScript file when
cssCodeSplit: false
is enabled. -
vite-plugin-mock-data - Provides a simple way to mock data.
-
vite-plugin-separate-importer - Converts batch imports from a source module into individual file imports from subdirectories of the source module.
-
vite-plugin-view - Dynamically render pages using custom template engines instead of the static
.html
entry file.
For detailed usage instructions and API references, please visit the official documentation:
We welcome contributions from the community! If you find a bug or want to suggest an improvement, feel free to open an issue or submit a pull request.
- Fork the repository.
- Create a new branch for your changes.
- Submit a pull request with a clear description of your changes.
This project is licensed under the MIT License.