mirror of
https://github.com/wireadmin/wireadmin
synced 2025-04-27 01:22:33 +00:00
19 lines
400 B
JavaScript
19 lines
400 B
JavaScript
function publicENV(ex = {}) {
|
|
Object.entries(process.env)
|
|
.filter(([ key ]) => key.startsWith('NEXT_PUBLIC_'))
|
|
.forEach(([ key, value ]) => ex[key] = value)
|
|
return ex
|
|
}
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
transpilePackages: [],
|
|
env: publicENV({}),
|
|
images: {
|
|
domains: [ 'img.shields.io' ]
|
|
}
|
|
}
|
|
|
|
module.exports = nextConfig;
|