diff --git a/themes.js b/themes.js index 5c112d63fe..2002b8cc97 100644 --- a/themes.js +++ b/themes.js @@ -7,7 +7,7 @@ const extractThemesPlugin = new ExtractTextPlugin({ }); -const themeEntries = () => { +const themeEntries = (() => { const globPath = path.join(__dirname, "web", "client", "themes", "*"); var files = glob.sync(globPath); return files.reduce((res, curr) => { @@ -16,7 +16,7 @@ const themeEntries = () => { return finalRes; }, {}); -}(); +})(); module.exports = { themeEntries, extractThemesPlugin