https://github.com/brandonroberts/nx-vite-env
Nx Vite 6 Environment API
https://github.com/brandonroberts/nx-vite-env
Last synced: 3 months ago
JSON representation
Nx Vite 6 Environment API
- Host: GitHub
- URL: https://github.com/brandonroberts/nx-vite-env
- Owner: brandonroberts
- Created: 2025-02-20T18:38:17.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-20T18:38:22.000Z (3 months ago)
- Last Synced: 2025-03-02T09:54:04.087Z (3 months ago)
- Language: TypeScript
- Size: 148 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nx Vite Environment
Reproduction of Nx Vite 6 executor support for Environment API
## Setup
```sh
npm install
```## Build with Nx Vite Executor
```sh
npm run build
```Client is built, server is not built
## Build with Vite CLI
```sh
npm run build:vite
```Client and server are built
## Build with Vite Plugin
First, remove `build` target from `project.json`.
```sh
npm run build
```Client and server are built