22 lines
480 B
TypeScript
22 lines
480 B
TypeScript
import type { NextConfig } from "next";
|
|
const { codeInspectorPlugin } = require('code-inspector-plugin');
|
|
|
|
const nextConfig: NextConfig = {
|
|
webpack: (config, { dev, isServer }) => {
|
|
config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }));
|
|
return config;
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'api.dicebear.com',
|
|
port: '',
|
|
pathname: '/**',
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|