diff --git a/src/config/journal/roles.js b/src/config/journal/roles.js index 17420307448c51618a351691035b55a7b6007a92..0f9334d4c66a69a75359e50150a8f7b40f153ee6 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 d635e60452d068466104311d738a6c918dbb37ed..71c81cef1c423f1a706dd4cc76ce5f07cc55a936 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, } }