Add "development" NODE_ENV option for build #819
Labels
feature-request
New feature or request that needs to be turned into Epic/Story details
size:S - 2
Sizing estimation point
Hi guys,
In the vite.config.js file of the node-red-dashboard-2-ui-example repository there is a mechanism available to skip the minification of the code during development. Which I use in this way:
However I don't see that variable in the dashboard. Instead I see in the package.json file another mechanism. So not sure if my above way of working is optimal...
Could anybody enlighten me a bit what is the best way to use this, and why the custom nodes need to use that environment variable. Or is there perhaps a relation between the build:dev and the NODE_ENV? Because I would like to see both the dashboard code and my own custom node code without minification...
Thanks!
Bart
The text was updated successfully, but these errors were encountered: