I have a very basic external project written in TypeScript. It simply exports a jsx.element. I use webpack and babel to create a bundle, but whenever I try to require it in Splunk web, the object is undefined.
What am I doing wrong?
import React from 'react';
export let z = <div>Hello world!</div>;