Hopefully fix some problems
This commit is contained in:
@@ -7,6 +7,7 @@ import graphql from '@rollup/plugin-graphql';
|
|||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [preact()],
|
integrations: [preact()],
|
||||||
|
output: 'static',
|
||||||
prefetch: true,
|
prefetch: true,
|
||||||
image: {
|
image: {
|
||||||
domains: ['development.directus.itsfinniii.com']
|
domains: ['development.directus.itsfinniii.com']
|
||||||
@@ -18,6 +19,16 @@ export default defineConfig({
|
|||||||
react: "preact/compat",
|
react: "preact/compat",
|
||||||
"react-dom": "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