Jeonghwan Kim 8/3/2021

babel-loader와 ts-loader의 빌드 결과가 다른 현상

Read Original

이 글은 타입스크립트 프로젝트에서 웹팩 로더로 babel-loader와 ts-loader를 사용할 때 발생하는 빌드 결과 차이를 다룹니다. 특히 클래스 상속 구조에서 필드가 undefined로 초기화되는 문제를 집중적으로 분석하며, @babel/plugin-proposal-class-properties 플러그인의 동작 방식과 ECMAScript 명세를 설명합니다. 실제 프로젝트 경험을 바탕으로 문제 원인과 해결 방안을 제시합니다.

babel-loader와 ts-loader의 빌드 결과가 다른 현상

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet