mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-30 20:51:55 +00:00
69a2283984
GitOrigin-RevId: 69dc5f9aad3e045cc6904e3663e9965094eced76
16 lines
374 B
JavaScript
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
|