build(*): Enable using server classes in frontend

This commit is contained in:
Josh Creek
2023-07-09 21:33:42 +00:00
parent 9d00bd4953
commit 027098b762
+9 -1
View File
@@ -2,5 +2,13 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite'; import { defineConfig } from 'vite';
export default defineConfig({ export default defineConfig({
plugins: [sveltekit()] plugins: [sveltekit()],
server: {
fs: {
allow: [
'/workspaces/EstimationPoker/server/classes/',
'/workspaces/EstimationPoker/server/classes/messages/',
],
},
},
}); });