Automated testing
The modules are automated and extensively tested with Jasmine, Chai and PhantomJS. Unit, functional and regression tests are used to ensure that the modules function as expected and to prevent errors in the future.
Optimized builds
Webpack ensures that only the components, images and scripts actually required on the page are delivered, thus massively minimizing the size of the CSS and JS files to be loaded.
In this case, Webpack's tree-shaking algorithm was able to reduce the size of the scripts loaded on a page by up to 56%.
The modules are encapsulated in subject-specific packages and published in a registry via npm so that they can be easily reused.
Essential documentation
In a heterogeneous environment with diverse development partners and technologies, documentation is essential. Thanks to some customized webpack loaders and build scripts, this can be generated automatically from JS Docs and Handlebars templates and is therefore always up to date. The modules are also available for preview in the documentation.