vite-plugin-conditional-compile

Environment variable-based conditional compiler

A plugin for Vite that enables conditional compilation based on environment variables.

Conditional compilation syntax based on environment variables for Vite. Vite 下基于环境变量的条件编译

GitHub

66 stars
3 watching
7 forks
Language: TypeScript
last commit: over 2 years ago
Linked from 1 awesome list

compilerconditionalvite

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
yzydeveloper/vite-plugin-babel-compilerA plugin for Vite that uses Babel to compile TypeScript code and work around some experimental features not supported by Esbuild.24
julien-r44/vite-plugin-validate-envA plugin to validate environment variables during build and development phases of web applications.174
hmsk/vite-plugin-elmEnables compilation and execution of Elm code within Vite projects.202
vitejs/vite-plugin-vue2-jsxA plugin that enables JSX support in Vue 2.7 applications with incremental compilation and hot module replacement (HMR)57
hemengke1997/vite-plugin-public-typescriptA Vite plugin that injects TypeScript into HTML templates to enable type-safe HTML rendering.12
herberttn/vite-plugin-typescript-transformApplies TypeScript compiler during Vite's build phase to support limited features not yet supported by esbuild.16
keuby/vite-plugin-lib-typesGenerates TypeScript declarations during library builds for compatibility with other languages and frameworks.6
skrulling/vite-plugin-biomeA Vite plugin that integrates the Biome linter and formatter into the build process for fast and automated code quality checks.50
kinfuy/vite-plugin-shortcutsA plugin for Vite that adds customizable shortcut keys to the development environment.10
solidjs/vite-plugin-solidAn integration to run solid-js with vite.446
nshen/vite-plugin-cesiumA Vite plugin for setting up Cesium projects with TypeScript and CSS.237
donnikitos/vite-plugin-html-injectSplitting and reusing HTML code in a ViteJS project to improve maintainability and flexibility60
hunyan-io/vite-plugin-vue-nested-sfcAllows defining and reusing SFC components within other SFCs.96
censujiang/vite-plugin-global-constA plugin that allows defining global constants to be shared across multiple projects using Vite as the build tool9
pengbouestc/vite-plugin-env-switchEnables dynamic environment switching in a web application without requiring a restart of the server.10