/** * SPDX-FileCopyrightText: 2018 F7cloud GmbH and F7cloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ /* global module */ /* global require */ const { merge } = require('webpack-merge') const common = require('./webpack.common.js') module.exports = async () => merge(await common(), { mode: 'production', devtool: 'source-map', performance: { maxEntrypointSize: 5 * 1024 * 1024, // 5 MiB maxAssetSize: 5 * 1024 * 1024, // 5 MiB }, })