Skip to content

Commit

Permalink
Issue #1560. Fix Syntax error in themeEntries with node v6.10.0 and n…
Browse files Browse the repository at this point in the history
…pm 3.10.10 on windows10 64bit (#1561)
  • Loading branch information
mricca authored and mbarto committed Mar 15, 2017
1 parent 046df65 commit cd1c9db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -16,7 +16,7 @@ const themeEntries = () => {
return finalRes;
}, {});

}();
})();
module.exports = {
themeEntries,
extractThemesPlugin
Expand Down

0 comments on commit cd1c9db

Please sign in to comment.