mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 02:18:47 +00:00
We already use `vite` as a bundling tool but only to rollup some of the pre-built files. This setup (and therefore our buildscripts) can be massively simplified by instructing `vite` to also build our TypeScript code and compile tailwind. This makes it much easier to develop locally because one only needs to run `pnpm vite build --watch` to keep everything up to date.
9 lines
137 B
Batchfile
Executable File
9 lines
137 B
Batchfile
Executable File
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
REM bundle web assets
|
|
call pnpm vite build
|
|
|
|
REM Compile Rust and bundle
|
|
call pnpm tauri build
|