const utilLib = require('/lib/enonic/util'); const cacheLib = require('/lib/cache'); const pageContributionsCache = cacheLib.newCache({ size: 100, expire: 10800 // 30 hours }); const { normalizeEntryNames, getAllUrls } = require('./dependencies'); /** Wraps a url in a script tag and appends it to pageContributions.js.bodyEnd with an async tag. The reason for choosing * bodyEnd is that this allows display of server-side-rendered content or placeholders before starting to load the * acrtive components. The component-render-triggering \n`, ]; }; /** Use the json files built by webpack in other libraries (react4xp-build-components, react4xp-runtime-externals, react4xp-runtime-client) * to fetch items of