Is there a way to bypass the entire require.js machinery for specific scripts that are not written to expect require.js? What I want to do is just load some scripts via a (dynamically inserted) <script> tag.
We are trying to integrate some new components in a legacy project that uses require.js and there's issues. Temporarily setting window.define to undefined solves some of the issues, but it seems there's some other machinery that interferes with e.g. setting global attributes after a script loads.
Is there a way to bypass the entire require.js machinery for specific scripts that are not written to expect require.js? What I want to do is just load some scripts via a (dynamically inserted)
<script>tag.We are trying to integrate some new components in a legacy project that uses require.js and there's issues. Temporarily setting
window.definetoundefinedsolves some of the issues, but it seems there's some other machinery that interferes with e.g. setting global attributes after a script loads.