<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using Webpack with user modules]]></title><description><![CDATA[<p dir="auto">An example of using Webpack to bundle your AngularJS user module into a single JS file:<br />
<a href="https://github.com/jazdw/mango-webpack-user-module" rel="nofollow ugc">https://github.com/jazdw/mango-webpack-user-module</a></p>
<p dir="auto">This example shows how to create a directory structure containing components and services. The components can include images, styles and a template html file which will be bundled into a single JS file (well not the image).</p>
<p dir="auto">You need to set the <code>publicPath</code> in webpack.config.js appropriately in order to load the images. You could modify the output <code>path</code> property to automatically output the files in the correct location.</p>
<ul>
<li>Install Node.js (use the latest LTS)</li>
<li><code>npm install</code></li>
<li><code>npm run webpack</code></li>
</ul>
]]></description><link>https://forum.mango-os.com/topic/4607/using-webpack-with-user-modules</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 03:27:55 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4607.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Dec 2019 19:02:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using Webpack with user modules on Tue, 03 Dec 2019 19:12:40 GMT]]></title><description><![CDATA[<p dir="auto">Very cool! a man of his word. This will be most helpful.</p>
]]></description><link>https://forum.mango-os.com/post/24237</link><guid isPermaLink="true">https://forum.mango-os.com/post/24237</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Tue, 03 Dec 2019 19:12:40 GMT</pubDate></item></channel></rss>