mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
18 lines
466 B
JavaScript
18 lines
466 B
JavaScript
const webpack = require('webpack');
|
|
const { merge } = require('webpack-merge');
|
|
const base = require('./webpack.config.base');
|
|
|
|
/** @type { import('webpack').Configuration } */
|
|
module.exports = merge(base, {
|
|
mode: 'production',
|
|
optimization: {
|
|
minimize: true,
|
|
},
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'process.env.DEFAULT_APP_NAME': JSON.stringify('Insomnia'),
|
|
'process.env.VERSION': JSON.stringify(process.env.VERSION),
|
|
}),
|
|
],
|
|
});
|