SMALL
현재 root경로에서 logger.js 내부에서 winston모듈 사용중
tsconfing.json내부에서 에러로 표시되길래 확인
tsconfig파일 수정
{
"compilerOptions": {
"types": ["kakao.maps.d.ts"],
"lib": ["WebWorker", "dom", "dom.iterable", "esnext", ],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": false,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"target": "es2017",
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "public/mqttWorker.js"],
// "exclude": ["node_modules"]
"exclude": ["node_modules", "logger.js"]
}
exclude에 logger.js추가 및 .next폴더 전체삭제 후 build하기
정상동작★
LIST
'일반' 카테고리의 다른 글
국제화 관련 사이트 (0) | 2024.07.25 |
---|---|
next.js URL 쿼리 매개변수 (0) | 2024.07.24 |
node 프로그램 내부 MQTT reconnect관련 문제 (0) | 2024.07.11 |
sync 배포 시 문제 (0) | 2024.07.04 |
HeidiSQL sql로 내보내기 (0) | 2024.07.03 |