Bounteous-Inc / aem-webpack-example

Best practice for setting up Webpack in AEM.
MIT License
80 stars 22 forks source link

Easier frontend integration with AEM #42

Closed kulek1 closed 6 years ago

kulek1 commented 6 years ago

Hi, I've found your configuration in Google and I thought that maybe you will get acquainted with my plugin. It makes the whole process much easier because you might have only one webpack config with all configuration as you wish.

The basic idea is to have separate and independent modules (Clientlibs) with frontend workflow as we know. You can add AemSyncPlugin and LiveReloadPlugin easily as well.

Multiple Bundles Webpack Plugin

Let me know what you think. Cheers

kevinweber commented 6 years ago

Thanks for your suggestion. We've figured out a similar solution where one output/clientlib gets generated per component (instead of one output/clientlib for all components). However, I don't plan on adding this functionality to this project yet.