2020-10-20 13:26:06 -07:00
|
|
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
|
|
// See LICENSE.txt for license information.
|
|
|
|
const merge = require('webpack-merge');
|
|
|
|
|
|
|
|
const makeCommonConfig = require('./webpack.common.js');
|
2020-10-08 09:21:27 -07:00
|
|
|
|
|
|
|
const commonConfig = makeCommonConfig();
|
|
|
|
|
|
|
|
const config = merge.merge(commonConfig, {
|
2020-10-20 13:26:06 -07:00
|
|
|
mode: 'development',
|
|
|
|
devtool: 'inline-source-map',
|
|
|
|
optimization: {
|
|
|
|
minimize: false,
|
|
|
|
},
|
2020-10-08 09:21:27 -07:00
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = [
|
2020-10-20 13:26:06 -07:00
|
|
|
merge.merge(config, {
|
2021-06-02 06:23:52 -04:00
|
|
|
devtool: 'source-map',
|
|
|
|
output: {
|
|
|
|
devtoolNamespace: 'focalboard',
|
|
|
|
},
|
2020-10-20 13:26:06 -07:00
|
|
|
}),
|
2020-10-08 09:21:27 -07:00
|
|
|
];
|