Hopefully fix some problems
This commit is contained in:
@@ -7,6 +7,7 @@ import graphql from '@rollup/plugin-graphql';
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [preact()],
|
||||
output: 'static',
|
||||
prefetch: true,
|
||||
image: {
|
||||
domains: ['development.directus.itsfinniii.com']
|
||||
@@ -18,6 +19,16 @@ export default defineConfig({
|
||||
react: "preact/compat",
|
||||
"react-dom": "preact/compat",
|
||||
},
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
// This prevents the WASM warning from breaking builds or spamming logs
|
||||
external: [/justified-layout-wasm/],
|
||||
},
|
||||
sourcemap: true
|
||||
},
|
||||
optimizeDeps: {
|
||||
exclude: ['@immich/justified-layout-wasm']
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user