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

17 lines
467 B
JavaScript
Raw Normal View History

const webpack = require('webpack');
const { merge } = require('webpack-merge');
const base = require('./webpack.config.base');
/** @type { import('webpack').Configuration } */
module.exports = merge(base, {
mode: 'development',
devtool: 'inline-source-map',
plugins: [
new webpack.DefinePlugin({
__DEV__: true,
'process.env.DEFAULT_APP_NAME': JSON.stringify('insomnia-app'),
'process.env.VERSION': JSON.stringify('dev'),
}),
],
});