How can I import specific function (not the default one) from a ES6 module using editor UI?
import { OAuth2Client } from 'google-auth-library';
It is probably possible to achieve it with functionExternalModules: true
, requre()
and global.get()
, but maybe there's a more convinient way inside the editor.
Also, I'm not sure how functionExternalModules
works with the new versions of Node-RED.