How can I add 'text/jsx' type to a script tag via libraries.yml?
I took a wild guess because I couldn't find absolutely nothing. Apparently this works:

my-libary:
  version: 1.x
  js:
    js/node.js: { attributes: {type: text/babel} }