DevTips Daily: The browserlist property in package.json

preview_player
Показать описание

⭐️ Check out more DevTips Daily ⭐️

#devtipsdaily Channel Handle @codebubb
Рекомендации по теме
Комментарии
Автор

After reading so much on it, and now watching this, i still dont get it.
Yes, im targeting some browser with this, but no one really mentions what exactly it does? Lets say i use a function, that it not supported in the 3 versions old chrome browser, im targeting the latest 2. What then? Does it polyfill automatically, so it will work? When i "run build", does it then just create all these different instances of my code, and serve the browser visiting the correct one?

OneBrokeBloke
Автор

Does it belongs to dependency or devDependency?

FerdausZamanPolok