We are using TypeScript within our application and when building custom components always have to add paths within the ‘js/main.js’. Is there any way to incorporate that “requirejs.config” in my “root.ts”?
=============
A little context here, we are building a couple smaller apps using context based routing within the larger bundle. We use a context based html start page which is in turn calls a context based ‘js/root’ (raw javascript file), which then calls ‘js/rootRoot.js’ (which is built from typescript). I'm trying to simplify the steps for developers so they can use a base build as a template zip.
<script
type="text/javascript"
data-main="/root/js/root"
src="https://static.oracle.com/cdn/jet/16.1.4/3rdparty/require/require.js"
></script>
<script type="text/javascript" src="https://static.oracle.com/cdn/jet/16.1.4/default/js/bundles-config.js"></script>