mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-06 01:45:37 -05:00
I wasn't able to get this fully working, IIRC; the challenge was getting the webpack build for web stuff to happen reliably.
23 lines
418 B
JavaScript
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',
|
|
},
|
|
}
|