From 26b884e28a32d24437a9b53539256fb24bef9df0 Mon Sep 17 00:00:00 2001
From: yannis <yannisbarlas@gmail.com>
Date: Mon, 4 Dec 2017 21:48:56 +0200
Subject: [PATCH] prettier manual one

---
 src/config/journal/roles.js |  4 ++--
 src/webpack-config.js       | 24 ++++++++++++------------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/config/journal/roles.js b/src/config/journal/roles.js
index 174203074..0f9334d4c 100644
--- a/src/config/journal/roles.js
+++ b/src/config/journal/roles.js
@@ -1,6 +1,6 @@
 export default {
   author: 'Author',
-  seniorEditor: 'Senior Editor',
-  managingEditor: 'Managing Editor',
   handlingEditor: 'Handling Editor',
+  managingEditor: 'Managing Editor',
+  seniorEditor: 'Senior Editor',
 }
diff --git a/src/webpack-config.js b/src/webpack-config.js
index d635e6045..71c81cef1 100644
--- a/src/webpack-config.js
+++ b/src/webpack-config.js
@@ -15,22 +15,11 @@ module.exports = dir => {
   ]
 
   return {
-    entry: './src/index.js',
-    output: {
-      filename: 'index.js',
-      path: path.join(dir, 'dist'),
-    },
     devtool: 'cheap-module-source-map',
-    watch: true,
+    entry: './src/index.js',
     // externals: [nodeExternals({
     //   whitelist: [/\.(?!js$).{1,5}$/i]
     // })],
-    plugins: [
-      // mock constants
-      new webpack.DefinePlugin({
-        PUBSWEET_COMPONENTS: '[]',
-      }),
-    ],
     module: {
       rules: [
         {
@@ -120,5 +109,16 @@ module.exports = dir => {
         },
       ],
     },
+    output: {
+      filename: 'index.js',
+      path: path.join(dir, 'dist'),
+    },
+    plugins: [
+      // mock constants
+      new webpack.DefinePlugin({
+        PUBSWEET_COMPONENTS: '[]',
+      }),
+    ],
+    watch: true,
   }
 }
-- 
GitLab