insomnia/packages/insomnia-inso/webpack/webpack.config.production.js
Dimitri Mitropoulos 5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00

17 lines
400 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'),
}),
],
});