From cd1c9db1b0dd89a932b722d43c38fca063d25fb2 Mon Sep 17 00:00:00 2001 From: Riccardo Mari Date: Wed, 15 Mar 2017 11:31:14 +0100 Subject: [PATCH] Issue #1560. Fix Syntax error in themeEntries with node v6.10.0 and npm 3.10.10 on windows10 64bit (#1561) --- themes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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