aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack/webpack.prod.js
blob: 03e1708e3ad6e18a89fc75722babb1efebfae117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* eslint-disable @typescript-eslint/no-var-requires */
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');

module.exports = env => {
    let mode = "production";
    env.mode = mode;

    return merge(common(env), {
        mode
    });
};