반응형
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: config => {
config.module.rules.push({
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack'],
});
return config;
},
};
module.exports = nextConfig;
반응형
'dev > fe' 카테고리의 다른 글
another-multi-provider 사용시 타입에러 (0) | 2023.04.30 |
---|---|
NextJS에서 로그인 유지하기 (0) | 2023.04.26 |
use-hook-form 예시 만들어 놓기 (0) | 2023.04.25 |
nextJS, React에서 폰트가 뿌옇게 나오네? (0) | 2023.04.23 |
useMemo 에 대한 정리 (0) | 2023.04.14 |
댓글