overleaf/services/web/webpack.config.prod.js

16 lines
359 B
JavaScript
Raw Normal View History

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',
2018-03-13 13:44:08 -04:00
output: {
// Override filename to include hash for immutable caching
filename: '[name]-[chunkhash].js'
}
})