Good idea. But no, they appear to be identical:
I also did a compare in VScode and they are absolutely identical.
Wait - No! I compared the wrong ones:
The intermediate file has a credentials property that disappears when deployed.
Here is the definition:
RED.nodes.registerType(moduleName, {
category: paletteCategory,
color: paletteColor,
defaults: {
name: { value: '' },
topic: { value: '' },
url: { value: moduleName, required: true, validate: validateUrl },
fwdInMessages: { value: false }, // Should we send input msg's direct to output as well as the front-end?
allowScripts: { value: false }, // Should we allow msg's to send JavaScript to the front-end?
allowStyles: { value: false }, // Should we allow msg's to send CSS styles to the front-end?
copyIndex: { value: true }, // DEPRECATED Should the default template files be copied to the instance src folder?
templateFolder: { value: 'blank' }, // Folder for selected template
extTemplate: { value: '' }, // Only if templateFolder=external, degit name
showfolder: { value: false }, // Should a web index view of all source files be made available?
useSecurity: { value: false },
sessionLength: { value: defaultSessionLength, validate: validateSessLen }, // 5d - Must have content if useSecurity=true
tokenAutoExtend: { value: false }, // TODO add validation if useSecurity=true
oldUrl: { value: undefined }, // If the url has been changed, this is the previous url
reload: { value: false }, // If true, all connected clients will be reloaded if a file is changed on the edit screens
//jwtSecret: { value: defaultJwtSecret, validate: validateSecret }, // Must have content if useSecurity=true
},
credentials: {
jwtSecret: { type:'password' }, // text or password
},
inputs: 1,
inputLabels: 'Msg to send to front-end',
outputs: 2,
outputLabels: ['Data from front-end', 'Control Msgs from front-end'],
icon: 'ui_template.png',
paletteLabel: nodeLabel,
label: function () { return this.url || this.name || nodeLabel },