mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
20 lines
381 B
JavaScript
20 lines
381 B
JavaScript
import path from 'path';
|
|
import productionConfig from './webpack.config.production.babel';
|
|
|
|
export default {
|
|
...productionConfig,
|
|
entry: [
|
|
'./main.development.js'
|
|
],
|
|
output: {
|
|
path: path.join(__dirname, '../build'),
|
|
filename: 'main.js',
|
|
libraryTarget: 'commonjs2'
|
|
},
|
|
node: {
|
|
__dirname: false,
|
|
__filename: false
|
|
},
|
|
target: 'electron-main'
|
|
};
|