Configuration file
You can add a configuration file to your project to specify the settings for the project.
The configuration file is a JSON file named .node-red-dxprc.json and should be placed in the root of the project.
sh
├── src/
├── .node-red-dxprc.{json,yaml}
└── package.jsonTIP
You can also use another format like .node-red-dxprc.js or .node-red-dxprc.yaml. Behind the scenes, the package uses cosmiconfig to load the configuration file.
Here is the type of available values:
Default configuration / Example
yaml
builder:
outputDir: dist
esbuildControllerOptions:
includeInBundle: []
tailwind:
forcedClassesInclusion: []
watcher:
enabled: true
nodeRed:
userDir: ~/.node-red
executable: node-red
url: http://localhost:1880
browserSync:
host: localhost
port: 3003
reloadDelay: 2000
open: false