ya-webadb/libraries/fetch-scrcpy-server/examples/vite/vite.config.js

11 lines
263 B
JavaScript

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: ["../.."],
},
},
});