Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Using Webpack with user modules
-
An example of using Webpack to bundle your AngularJS user module into a single JS file:
https://github.com/jazdw/mango-webpack-user-moduleThis 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).
You need to set the
publicPathin webpack.config.js appropriately in order to load the images. You could modify the outputpathproperty to automatically output the files in the correct location.- Install Node.js (use the latest LTS)
npm installnpm run webpack
-
Very cool! a man of his word. This will be most helpful.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login