실무환경에서는 바벨을 직접 사용하기보다 웹팩으로 통합해서 사용하는 것이 일반적 따라서, 로더(loader) 형태로 제공함 1. babel loader 설치 [terminal] npm install babel-loader -D 2. webpack 설정 수정 2.1. babel loader 추가 { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', } /** * /root/webpack.config.js */ const path = require('path'); const CustomPlugin = require('./customplugin'); const webpack = require('webpack'); const banner = requ..