I was wondering, which one of the following two options is the right way for better Tree Shaking in webpack:
import { someFeature } from 'someModule' // Option 1
import { isEmpty } from 'lodash' // Example 1
Or,
import someFeature from 'someModule/someFeature' // Option 2
import isEmpty from 'lodash/isEmpty' // Example 2