mirror of
https://github.com/Since-3/Kumasy-Marketing.git
synced 2026-10-12 19:01:17 +00:00
21 lines
577 B
TypeScript
21 lines
577 B
TypeScript
import path from "node:path";
|
|
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
turbopack: {
|
|
// A stray package-lock.json sits in a parent directory; pin the root to
|
|
// this project so Turbopack does not treat it as a workspace.
|
|
root: path.join(__dirname),
|
|
},
|
|
images: {
|
|
// Serve the source PNGs untouched. The device mockups are transparent
|
|
// and pixel-aligned; resampling them softens the UI text inside.
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
module.exports = {
|
|
allowedDevOrigins: ['192.168.2.34'],
|
|
}
|
|
|
|
export default nextConfig;
|