Skip to Main Content

DevOps, CI/CD and Automation

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 shim section to main.js

ShankarRajEcoSep 5 2021

Hi,
We wanted to add below shim section to main.js, and if we add it in src/js/main.js folder the build is removing it and we cannot see in web/js/main.js file.
I know we should not directly modify main.js, so how do we achieve adding shim section in main.js.
shim:
{
'jquery':
{
exports: ['jQuery', '$']
},
'vfsfonts': {
deps: ['pdfmake']
}
}

Thanks,
Shankar

Comments

Post Details

Added on Sep 5 2021
2 comments
109 views