Tree Shaking CSS problem

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Side note on lodash, they have a special npm version called lodash-es that is tree shakable.

So import { get } from ‘lodash-es’

LeonRadley
Автор

Yes...mine too not working n always showing no result

yunipasaribu
Автор

why did yarn add work so fast for you, when I yarn add it can take a couple of minutes

SahraClayton
Автор

Why writing new plugin? Isn't babel-plugin-import about what you need?

GuriaFS
Автор

Great content Kent, thanks for sharing! Next time you’re looking for the size of an npm package, go to bundlephobia.com

carlosafrias