class ThemeConfiguration { constructor(themeDefBuilder) { return [ // this will rely on the given source-files: // - themes/theme-example.js // - themes/theme-example.scss // - themes/theme-example_print.scss // // it will create the destination-files: // - webresources/themes/theme-example.js // - webresources/themes/theme-example.css // - webresources/themes/theme-example_print.css themeDefBuilder.createThemeDefinitionFor('theme-example') // this could be the next theme to be defined and any further theme // can be declared in a same way //,themeDefBuilder.createThemeDefinitionFor('another-theme-example') ] } } module.exports = ThemeConfiguration;