aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack/webpack.prod.js
blob: fe935af86669c7b210806875c8725e1e328301e9 (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
    });
};