You've successfully subscribed to AEM News
Great! Next, complete checkout for full access to AEM News
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.

Dynamic Imports with Adobe AEM & Webpack

AEM Community
AEM Community

Performance of AEM based sites can be greatly improved by leveraging Dynamic Imports using Webpack. Sites built with AEM use components to compose a page. As a best practice, developers should generally split their code at the component level and use clientlibrary feature to combine and minify their JavaScript files with AEM. But often there are scenarios where specific components are only used on certain areas of the site or on specific pages and it doesn’t make sense to combine their JavaScript modules into a single bundle.

The below video show’s a demo of how dynamic import with AEM Components would work

Author: Tushar Mane

Dynamic Imports with Adobe AEM & Webpack - INITIALYZE
Performance of AEM based sites can be greatly improved by leveraging Dynamic Imports using Webpack. Sites built with AEM use components to compose a page. As a best practice, developers should generally split their code at the component level and use clientlibrary feature to combine and minify their…
LinksPerformanceFront End

AEM Community

The AEM Community powers a large portion of the AEM.News, and without the community this site wouldn't be what it is today.

Comments

Sign in or become a AEM News member to join the conversation.
Just enter your email below to get a log in link.