overleaf/services/web/webpack.config.test.js
Alf Eaton 69a2283984 Upgrade to webpack v5 (#7249)
GitOrigin-RevId: 69dc5f9aad3e045cc6904e3663e9965094eced76
2022-04-07 08:03:46 +00:00

16 lines
374 B
JavaScript

const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const { merge } = require('webpack-merge')
const base = require('./webpack.config')
const config = merge(base, {
mode: 'development',
plugins: [new MiniCssExtractPlugin()],
})
// Karma configures entry & output for us, so disable these
delete config.entry
delete config.output
module.exports = config