webapp
This commit is contained in:
13
webapp/vite.config.js
Normal file
13
webapp/vite.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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, '..')]
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user