Tree shaking
https://viblo.asia/p/proper-tree-shaking-with-webpack-2-3P0lPOM4Zox
Note:
For lodash, syntax matters:
import { get } from 'lodash' // doesn't work
import get from 'lodash/get' // works
https://viblo.asia/p/proper-tree-shaking-with-webpack-2-3P0lPOM4Zox
Note:
For lodash, syntax matters:
import { get } from 'lodash' // doesn't work
import get from 'lodash/get' // works