2020-07-07 00:31:48 +00:00
|
|
|
const webpack = require('webpack');
|
2021-05-12 06:35:00 +00:00
|
|
|
const { merge } = require('webpack-merge');
|
2020-07-07 00:31:48 +00:00
|
|
|
const base = require('./webpack.config.base');
|
|
|
|
|
2021-05-12 06:35:00 +00:00
|
|
|
/** @type { import('webpack').Configuration } */
|
2020-07-07 00:31:48 +00:00
|
|
|
module.exports = merge(base, {
|
|
|
|
mode: 'development',
|
2021-11-01 15:13:30 +00:00
|
|
|
devtool: 'inline-source-map',
|
2020-07-07 00:31:48 +00:00
|
|
|
plugins: [
|
|
|
|
new webpack.DefinePlugin({
|
|
|
|
__DEV__: true,
|
2021-02-26 17:41:15 +00:00
|
|
|
'process.env.DEFAULT_APP_NAME': JSON.stringify('insomnia-app'),
|
2021-10-12 00:35:59 +00:00
|
|
|
'process.env.VERSION': JSON.stringify('dev'),
|
2020-07-07 00:31:48 +00:00
|
|
|
}),
|
|
|
|
],
|
|
|
|
});
|