Overview
Build Node-RED nodes effortlessly with node-red-dxp 🚀
Prerequisites: Project Structure To utilize the zero-config features of this tool, your project must adhere to a specific folder structure. This convention allows node-red-dxp to streamline the build and bundling process without complex configuration files.
Bundling Strategy
node-red-dxp is primarily a development dependency used for building and bundling. However, it handles production artifacts differently depending on the context:
🎨 Editor (Frontend)
- Format: IIFE (Immediately Invoked Function Expression).
- Behavior: All frontend JavaScript is bundled directly. This ensures all UI utilities are available in the final build with no runtime dependency management required.
🖥️ Controller (Backend)
- Dependencies: By default, external libraries are treated as externals (imported via
require).- Customization: You can explicitly configure specific libraries to be included in the bundle (see configuration documentation).
- Core Exception: The
@keload/node-red-dxpcore library is always bundled into the final package and is never treated as an external dependency.
Usage
Please refer to the following page Usage