summary refs log tree commit diff
path: root/synapse_topology/view/webui/webpack.config.babel.js
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-07-31 17:54:07 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:53 +0100
commit2a34815d485b6b8a10f45143e3277fd417e4f77d (patch)
tree11aa909c295b1a49d01a904cad8aac6e4405e56c /synapse_topology/view/webui/webpack.config.babel.js
parentAdd endpoint to check if server has been setup. (diff)
downloadsynapse-2a34815d485b6b8a10f45143e3277fd417e4f77d.tar.xz
Add basic flow control
Diffstat (limited to 'synapse_topology/view/webui/webpack.config.babel.js')
-rw-r--r--synapse_topology/view/webui/webpack.config.babel.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/synapse_topology/view/webui/webpack.config.babel.js b/synapse_topology/view/webui/webpack.config.babel.js
index 2d018ac623..d4226bad19 100644
--- a/synapse_topology/view/webui/webpack.config.babel.js
+++ b/synapse_topology/view/webui/webpack.config.babel.js
@@ -2,7 +2,7 @@ import 'webpack';
 import { Path } from 'path';
 
 export default {
-  entry:  __dirname + '/js/index.jsx',
+  entry: __dirname + '/js/index.jsx',
   output: {
     path: __dirname + '/dist',
     filename: 'bundle.js',
@@ -11,7 +11,7 @@ export default {
     extensions: ['.js', '.jsx', '.css']
   },
   module: {
-    rules:[
+    rules: [
       {
         test: /\.jsx$/,
         exclude: /node_modules/,
@@ -20,22 +20,22 @@ export default {
       {
         test: /\.less$/,
         use: [
-	  {
-	    loader: 'style-loader',
-	  },
-	  {
+          {
+            loader: 'style-loader',
+          },
+          {
             loader: 'css-loader',
             options: {
               sourceMap: true,
               modules: {
-		  localIdentName: '[local]___[hash:base64:5]'
-	      }
-	    },
+                localIdentName: '[local]___[hash:base64:5]'
+              }
+            },
+          },
+          {
+            loader: 'less-loader',
           },
-	  {
-	    loader: 'less-loader',
-	  },
-	],
+        ],
       },
       {
         test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,