feat(scrcpy-server): separate package, add support for Vite

This commit is contained in:
Simon Chan 2023-06-27 15:29:35 +08:00
parent 419a7559fe
commit 9b0e06cdfb
No known key found for this signature in database
GPG key ID: 8F75717685A974FB
34 changed files with 4717 additions and 2588 deletions

View file

@ -0,0 +1,11 @@
import { defineConfig } from "vite";
export default defineConfig({
// This example installs the package as symlink
// so this is required to allow vite to access the package
server: {
fs: {
allow: ["../.."],
},
},
});