In this Javascript tutorial we show how SnowPack 3 allows us to import npm packages without performing an npm install. Instead of this we use the skypack.dev CDN to pull these in an so can forgo this step and also the step of SnowPack converting these packages to ESM modules, thus speeding up our workflow even further.
Normal bundlers such as webpack, rollup and parcel will need to produce a new bundle even on the smallest of changes to the code. Not the case with SnowPack as it will update just the file that have changed. This process has been in place since SnowPack version 2, and in combination with the CDN install provided in V3 for fast iterations of web development this a pretty smart workflow.
Смотрите видео Using SnowPack 3 for NPM less development онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь A shot of code 28 Декабрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,067 раз и оно понравилось 103 людям.