insomnia/packages/insomnia-inso/webpack/webpack.config.production.js

16 lines
362 B
JavaScript

const webpack = require('webpack');
const {merge} = require('webpack-merge');
const base = require('./webpack.config.base');
module.exports = merge(base, {
mode: 'production',
optimization: {
minimize: true,
},
plugins: [
new webpack.DefinePlugin({
'process.env.DEFAULT_APP_DATA_DIR': JSON.stringify('Insomnia Designer'),
}),
],
});