const merge = require('webpack-merge') const MiniCssExtractPlugin = require('mini-css-extract-plugin') const base = require('./webpack.config') module.exports = merge(base, { mode: 'development', // Enable source maps for dev (fast compilation, slow runtime) devtool: 'cheap-module-eval-source-map', plugins: [ // Extract CSS to a separate file (rather than inlining to a