From 2a34815d485b6b8a10f45143e3277fd417e4f77d Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Wed, 31 Jul 2019 17:54:07 +0100 Subject: Add basic flow control --- .../view/webui/webpack.config.babel.js | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'synapse_topology/view/webui/webpack.config.babel.js') 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+)?$/, -- cgit 1.4.1