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

65 stars
3 watching
7 forks
Language: TypeScript
last commit: 10 months ago
Linked from 1 awesome list

compilerconditionalvite

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
yzydeveloper/vite-plugin-babel-compiler A 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-env A plugin to validate environment variables during build and development phases of web applications. 171
hmsk/vite-plugin-elm Enables compilation and execution of Elm code within Vite projects. 201
vitejs/vite-plugin-vue2-jsx A plugin that enables JSX support in Vue 2.7 applications with incremental compilation and hot module replacement (HMR) 57
hemengke1997/vite-plugin-public-typescript A Vite plugin that injects TypeScript into HTML templates to enable type-safe HTML rendering. 12
herberttn/vite-plugin-typescript-transform Applies TypeScript compiler during Vite's build phase to support limited features not yet supported by esbuild. 16
keuby/vite-plugin-lib-types Generates TypeScript declarations during library builds for compatibility with other languages and frameworks. 6
skrulling/vite-plugin-biome A Vite plugin that integrates the Biome linter and formatter into the build process for fast and automated code quality checks. 48
kinfuy/vite-plugin-shortcuts A plugin for Vite that adds customizable shortcut keys to the development environment. 10
solidjs/vite-plugin-solid An integration to run solid-js with vite. 441
nshen/vite-plugin-cesium A Vite plugin for setting up Cesium projects with TypeScript and CSS. 233
donnikitos/vite-plugin-html-inject Splitting and reusing HTML code in a ViteJS project to improve maintainability and flexibility 58
hunyan-io/vite-plugin-vue-nested-sfc Allows defining and reusing SFC components within other SFCs. 96
censujiang/vite-plugin-global-const A plugin that allows defining global constants to be shared across multiple projects using Vite as the build tool 9
pengbouestc/vite-plugin-env-switch Enables dynamic environment switching in a web application without requiring a restart of the server. 9