chore: adds emptyOutDir option to build in vite config
This commit is contained in:
@@ -76,6 +76,7 @@ export const getViteConfig = async (payloadConfig: SanitizedConfig): Promise<Inl
|
||||
base: payloadConfig.routes.admin,
|
||||
build: {
|
||||
chunkSizeWarningLimit: 4000,
|
||||
emptyOutDir: true,
|
||||
outDir: payloadConfig.admin.buildPath,
|
||||
rollupOptions: {
|
||||
plugins: [image()],
|
||||
|
||||
Reference in New Issue
Block a user