aboutsummaryrefslogtreecommitdiff
path: root/webpack.main.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.main.js')
-rw-r--r--webpack.main.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/webpack.main.js b/webpack.main.js
new file mode 100644
index 0000000..d8645ec
--- /dev/null
+++ b/webpack.main.js
@@ -0,0 +1,24 @@
+const path = require('path');
+
+module.exports = {
+ target: 'electron-main',
+ entry: { main: './main.js' },
+ output: {
+ path: path.resolve('./build'),
+ filename: '[name].js'
+ },
+ node: {
+ __dirname: true
+ },
+ externals: [ {
+ 'jitsi-meet-electron-utils': 'require(\'jitsi-meet-electron-utils\')',
+ 'electron-debug': 'require(\'electron-debug\')',
+ 'electron-reload': 'require(\'electron-reload\')'
+ } ],
+ resolve: {
+ modules: [
+ path.resolve('./node_modules')
+ ]
+ }
+};
+