Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinature committed Jun 1, 2024
1 parent 8515b0e commit 2f62bd3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
import path from "path";

const __dirname = path.resolve();

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [{ protocol: "https", hostname: "**" }],
},
webpack: (config) => {
config.resolve.alias = {
...config.resolve.alias,
"@": path.resolve(__dirname, "./"),
};

return config;
},
};

export default nextConfig;

0 comments on commit 2f62bd3

Please sign in to comment.