{"id":25807,"date":"2022-04-17T18:09:55","date_gmt":"2022-04-18T01:09:55","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=25807"},"modified":"2022-04-17T18:09:55","modified_gmt":"2022-04-18T01:09:55","slug":"ccatp-724","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2022\/04\/ccatp-724\/","title":{"rendered":"CCATP #724 \u2013\u00a0Bart Busschots on PBS 137 of X \u2014 Bundling a Library with Webpack"},"content":{"rendered":"<p>We have one more thing to learn as we gear up to actually start writing modern code for Bart&#8217;s HSXKPasswd tool. The last piece of our tool kit is a bundler. In this installment, Bart teaches what problems bundlers solve, and he explains why he chose the bundler Webpack for our project.  After learning about Webpack, Bart takes us through a worked example, bundling the Joiner module we&#8217;ve been working on through this part of the series. When we&#8217;re done, we&#8217;ll have an ES6 bundle and a Universal Module Defnition (UMD) bundle to cover both modern and more legacy needs.  In the episode, you&#8217;ll hear me say that the exercise hit errors, and after the show, we diagnosed the problem and fixed the shownotes so have no worries about that!<\/p>\n<p>You can, as always, find Bart&#8217;s fabulous show note tutorial for this installment at <a href=\"https:\/\/pbs.bartificer.net\/pbs137\" target=\"%5Fblank\" rel=\"noopener\">pbs.bartificer.net\/&#8230;<\/a><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-25807-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_04_17A.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_04_17A.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_04_17A.mp3<\/a><\/audio>\n<p><a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_04_17A.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have one more thing to learn as we gear up to actually start writing modern code for Bart&#8217;s HSXKPasswd tool. The last piece of our tool kit is a bundler. In this installment, Bart teaches what problems bundlers solve, and he explains why he chose the bundler Webpack for our project. After learning about [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":18994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147,172,1,213],"tags":[2542,176,240,5212],"class_list":["post-25807","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-posts","category-ccatp","category-podcasts","category-programming-by-stealth","tag-programmers","tag-programming","tag-programming-by-stealth","tag-webpack"],"jetpack_featured_media_url":"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2019\/08\/PBS_Logo-1-300x300_no_alpha.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/25807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=25807"}],"version-history":[{"count":3,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/25807\/revisions"}],"predecessor-version":[{"id":25810,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/25807\/revisions\/25810"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media\/18994"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=25807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=25807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=25807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}