mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
16 lines
359 B
JavaScript
16 lines
359 B
JavaScript
const merge = require('webpack-merge')
|
|
|
|
const base = require('./webpack.config')
|
|
|
|
module.exports = merge(base, {
|
|
mode: 'production',
|
|
|
|
// Enable a full source map. Generates a comment linking to the source map
|
|
devtool: 'source-map',
|
|
|
|
output: {
|
|
// Override filename to include hash for immutable caching
|
|
filename: '[name]-[chunkhash].js'
|
|
}
|
|
})
|