1 parent
610cd0e899
commit
574f83615e
5 files changed
+23
-7
No files matched your search
+11
-1
@@ -1,10 +1,20 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
|
||||
import { readFileSync } from 'fs';
|
||||
|
||||
const { version } = JSON.parse(readFileSync('./package.json', 'utf-8'));
|
||||
|
||||
console.log(`Version: ${version}`);
|
||||
|
||||
const nextConfig = {
|
||||
reactStrictMode: false,
|
||||
output: 'standalone',
|
||||
images: {
|
||||
unoptimized: true,
|
||||
}
|
||||
},
|
||||
env: {
|
||||
VERSION: version,
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in new issue
Block a user