<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Webpack on It Must Be Code!</title><link>https://itmustbecode.com/tags/webpack/</link><description>Recent content in Webpack on It Must Be Code!</description><generator>Hugo</generator><language>en-CA</language><lastBuildDate>Mon, 10 Oct 2022 13:45:03 +0000</lastBuildDate><atom:link href="https://itmustbecode.com/tags/webpack/feed.xml" rel="self" type="application/rss+xml"/><item><title>The PCF Control Framework chooses Esbuild-Loader for Faster Build Time</title><link>https://itmustbecode.com/the-pcf-control-framework-chooses-esbuild-loader-for-faster-build-time/</link><pubDate>Mon, 10 Oct 2022 13:45:03 +0000</pubDate><guid isPermaLink="false">https://itmustbecode.com/the-pcf-control-framework-chooses-esbuild-loader-for-faster-build-time/</guid><description>&lt;p&gt;While I was starting a new PowerApps Component Framework ( &lt;strong&gt;PCF&lt;/strong&gt;) project, I stumbled upon the latest release notes of the framework&amp;rsquo;s main package ( &lt;strong&gt;&lt;a class="link" href="https://www.npmjs.com/package/pcf-scripts" target="_blank" rel="noopener"
&gt;pcf-scripts&lt;/a&gt;&lt;/strong&gt; v1.18.4). I was stoked 🤩 to see that they &lt;strong&gt;improved&lt;/strong&gt; the performance of the &lt;strong&gt;bundling&lt;/strong&gt; process by switching from &lt;strong&gt;&lt;a class="link" href="https://babeljs.io/" target="_blank" rel="noopener"
&gt;babel-loader&lt;/a&gt;&lt;/strong&gt; to &lt;a class="link" href="https://github.com/privatenumber/esbuild-loader" target="_blank" rel="noopener"
&gt;&lt;strong&gt;esbuild-loader&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;figure&gt;&lt;img src="./image-11.png"loading="lazy"&gt;&lt;/figure&gt;
&lt;p&gt;Let&amp;rsquo;s take this opportunity to nerd-out on the &lt;strong&gt;bundling&lt;/strong&gt; process of a PCF control and see if this change really &lt;strong&gt;measures up&lt;/strong&gt; ⌚.&lt;/p&gt;</description></item><item><title>PCF Controls - Useful Webpack Plugins</title><link>https://itmustbecode.com/pcf-controls-useful-webpack-plugins/</link><pubDate>Tue, 16 Nov 2021 04:58:31 +0000</pubDate><guid isPermaLink="false">https://itmustbecode.com/pcf-controls-useful-webpack-plugins/</guid><description>&lt;p&gt;In my last post I explained how to enable &lt;strong&gt;custom webpack configurations&lt;/strong&gt; in a &lt;strong&gt;PowerApps Control Framework&lt;/strong&gt; project. I also showed how to generate the &lt;strong&gt;source-map&lt;/strong&gt; file of the generated PCF bundle.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class="link" href="https://itmustbecode.com/pcf-controls-custom-webpack-configurations/" &gt;PCF controls – Custom Webpack configurations&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To continue on this track and push things a little further, I want to explore how to enhance the PCF development experience with the use of &lt;strong&gt;webpack plugins&lt;/strong&gt; that can be referenced in the custom configuration file.&lt;/p&gt;</description></item><item><title>PCF controls - Custom Webpack configurations</title><link>https://itmustbecode.com/pcf-controls-custom-webpack-configurations/</link><pubDate>Wed, 20 Oct 2021 02:06:29 +0000</pubDate><guid isPermaLink="false">https://itmustbecode.com/pcf-controls-custom-webpack-configurations/</guid><description>&lt;p&gt;When developing Power Platform PCF controls, at build-time, &lt;strong&gt;&lt;a class="link" href="https://webpack.js.org/" target="_blank" rel="noopener"
&gt;Webpack&lt;/a&gt;&lt;/strong&gt; is invoked to &lt;strong&gt;bundle&lt;/strong&gt; the code and dependencies into deployable assets.&lt;/p&gt;
&lt;p&gt;While the &lt;strong&gt;out-of-the-box&lt;/strong&gt; configurations are suitable for most of the basic PCF control needs, sometimes, you need to throw &lt;strong&gt;your own custom&lt;/strong&gt; instructions in the game. This is what we are going to cover in this post.&lt;/p&gt;
&lt;h3 id="webpack-and-pcf"&gt;&lt;strong&gt;Webpack and PCF&lt;/strong&gt;
&lt;/h3&gt;&lt;p&gt;I will not spend too much time on the fundamentals of Webpack, there are tons of great blog post that deep-dives on the matter. But I think its important to understand what Webpack is and how it works in PCF control development.&lt;/p&gt;</description></item></channel></rss>