mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Set NODE_ENV in grunt dev task to serve non-minified assets
This commit is contained in:
@@ -28,6 +28,9 @@ var defaultContext = {
|
||||
header: {
|
||||
title: "Node-RED",
|
||||
image: "red/images/node-red.png"
|
||||
},
|
||||
asset: {
|
||||
red: (process.env.NODE_ENV == "development")? "red/red.js":"red/red.min.js"
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user