From 54703d9ef7355878fa604e0f6fa1cdbb9e7f106e Mon Sep 17 00:00:00 2001 From: Kiho Cham Date: Mon, 6 Mar 2017 14:37:49 +0800 Subject: [PATCH] make the arrow function shorter. --- build/webpack.config.base.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/webpack.config.base.js b/build/webpack.config.base.js index 44e2351..c5ac92e 100644 --- a/build/webpack.config.base.js +++ b/build/webpack.config.base.js @@ -6,9 +6,7 @@ const root = process.cwd() const front = join(root, 'front') const pkg = require(join(root, 'package.json')) -const entry = name => { - return join(front, 'view', name, 'index') -} +const entry = name => join(front, 'view', name, 'index') module.exports = { entry: {