14 lines
264 B
TypeScript
14 lines
264 B
TypeScript
import { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
webpack(config) {
|
|
config.module.rules.push({
|
|
test: /\.svg$/i,
|
|
issuer: /\.[jt]sx?$/,
|
|
use: ["@svgr/webpack"],
|
|
});
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|