Skip to content
Snippets Groups Projects
Commit 26b884e2 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

prettier manual one

parent e6d29e63
No related branches found
No related tags found
No related merge requests found
export default {
author: 'Author',
seniorEditor: 'Senior Editor',
managingEditor: 'Managing Editor',
handlingEditor: 'Handling Editor',
managingEditor: 'Managing Editor',
seniorEditor: 'Senior Editor',
}
......@@ -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,
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment