Files
streamwall/webpack.main.config.js
Max Goodhart cf73dcf604 WIP attempt to wire up electron-forge
I wasn't able to get this fully working, IIRC; the challenge was getting
the webpack build for web stuff to happen reliably.
2024-08-19 17:50:50 -07:00

23 lines
418 B
JavaScript

const baseConfig = require('./webpack.base.config')
module.exports = {
...baseConfig({
babel: {
presets: [
[
'@babel/preset-env',
{
modules: 'commonjs',
targets: { node: true },
},
],
],
},
}),
entry: './src/node/main.js',
externals: {
consolidate: 'commonjs consolidate',
fsevents: 'commonjs fsevents',
},
}