c77d7d6e79
For #13608 Since we have webpack anyway it make sense to let webpack do the bundling instead of ourselfs. This leads to minified code (so less transfer). And the webserver can just handle the request. As a bonus we get a map file so debugging is easier than with our JSCombiner stuff. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 lines
204 B
JavaScript
9 lines
204 B
JavaScript
const merge = require('webpack-merge');
|
|
const common = require('./webpack.common.js');
|
|
|
|
module.exports = common.map(
|
|
config => merge(config, {
|
|
mode: 'development',
|
|
devtool: 'cheap-source-map',
|
|
})
|
|
)
|