On default VSCode imports lodash methods loading whole library:
import { random } from 'lodash';
But the proper method of importing should be:
import random from 'lodash/random';
How to force VSCode to properly import Lodash methods?
2.1m questions
2.1m answers
60 comments
57.0k users