요약
사용하지 않는 코드를 제거하는 방식 (Rollup, Webpack에서도 참고 가능)
내용
static import문을 사용하여 ES6 모듈의 특정 부분만을 가져오는 방법이다.
// Import all the array utilities!
import arrayUtils from 'array-utils'
// Import only some of the utilities!
import { unique, implode, explode } from 'array-utils'