Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Adding script type = "module" to every page in app

Luka TriciklinFeb 18 2021

Hello again
Is it possible to change type of script under application / shared components / File url's?
I really need it to render like this
<script type="module" src="rest_ipc/r/files/static/v234/nesto.js"> </script>
but it loads without it...
Only thing i can do is to reference it in every page html header , but that is redundant..
The thing is, i can't add HTML script tag in FILE URLs
image.pngCurrent solution:
image.png
But then, if u have 100 pages in application, u have to write this line of code (or delete it after) 100 times.
As developer who works in REACT and in Apex, i am really missing some features of modular exports and imports :)
Maybe changing Mime Type somehow in workspace files would help, but i am not sure
image.png
Thank you for your time!!

This post has been answered by jariola on Feb 18 2021
Jump to Answer
Comments
Post Details
Added on Feb 18 2021
2 comments
803 views