mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 09:46:19 +01:00
@@ -1,14 +1,19 @@
|
||||
const { i18n } = require('./next-i18next.config');
|
||||
|
||||
const removeImports = require('next-remove-imports')();
|
||||
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
enabled: process.env.ANALYZE === 'true',
|
||||
});
|
||||
|
||||
module.exports = withBundleAnalyzer({
|
||||
images: {
|
||||
domains: ['cdn.jsdelivr.net'],
|
||||
},
|
||||
reactStrictMode: true,
|
||||
output: 'standalone',
|
||||
i18n,
|
||||
});
|
||||
module.exports = withBundleAnalyzer(
|
||||
removeImports({
|
||||
experimental: { esmExternals: true },
|
||||
images: {
|
||||
domains: ['cdn.jsdelivr.net'],
|
||||
},
|
||||
reactStrictMode: true,
|
||||
output: 'standalone',
|
||||
i18n,
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user