Files
RadioPlayer/webapp/vite.config.js
2026-01-11 08:19:27 +01:00

14 lines
343 B
JavaScript

import { defineConfig } from 'vite';
import path from 'path';
// Allow Vite dev server to read files from parent folder so we can import
// the existing `src` code without copying it.
export default defineConfig({
server: {
fs: {
// allow access to parent workspace root
allow: [path.resolve(__dirname, '..')]
}
}
});