]> git.r.bdr.sh - rbdr/junction/blobdiff - extension/webpack.config.js
Fix rooms and force ws protocol
[rbdr/junction] / extension / webpack.config.js
index 9c6ad83ecb310df1710767d250214e8214ff87e8..543a8ccba654610ac1b8de4b2663850a0ffbe893 100644 (file)
@@ -4,16 +4,16 @@ const path = require('path');
 const config = {
 
     // Entry
 const config = {
 
     // Entry
-    entry:'./junction.js',  // Output
+    entry:'./content_script.js',  // Output
     output: {
         path: path.resolve(__dirname, 'build'),
     output: {
         path: path.resolve(__dirname, 'build'),
-        filename: 'junction.js',
+        filename: 'content_script.js',
     },  // Loaders
     module: {
         rules : [
             // JavaScript/JSX Files
             {
     },  // Loaders
     module: {
         rules : [
             // JavaScript/JSX Files
             {
-                test: /\.jsx$/,
+                test: /\.js$/,
                 exclude: /node_modules/,
                 use: ['babel-loader'],
             },
                 exclude: /node_modules/,
                 use: ['babel-loader'],
             },
@@ -22,4 +22,4 @@ const config = {
     node: { fs: 'empty' },// Plugins
     plugins: [],
 };// Exports
     node: { fs: 'empty' },// Plugins
     plugins: [],
 };// Exports
-module.exports = config;
\ No newline at end of file
+module.exports = config;