mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-08 01:15:49 +02:00
fix: allow import @server (#2601)
I noticed we had a Vite error when trying to run the front-end locally bound to `unleash-cloud` due to the new `@server` import. This fixes it by allowing serving fs from one level up. Docs: https://vitejs.dev/config/server-options.html#server-fs-allow
This commit is contained in:
parent
925b89b899
commit
d8fa693849
@ -62,6 +62,9 @@ export default mergeConfig(
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
fs: {
|
||||
allow: ['..'],
|
||||
},
|
||||
},
|
||||
plugins: [react(), tsconfigPaths(), svgr(), envCompatible()],
|
||||
esbuild: {
|
||||
|
Loading…
Reference in New Issue
Block a user