This is an automated email from the ASF dual-hosted git repository.

adriancole pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-zipkin.git

commit 6125bce115b6abebc15f3129d177f0286174038c
Author: tacigar <[email protected]>
AuthorDate: Fri May 10 13:11:16 2019 +0900

    Update webpack configs
---
 zipkin-lens/webpack.dev.config.js  | 4 ++--
 zipkin-lens/webpack.prod.config.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/zipkin-lens/webpack.dev.config.js 
b/zipkin-lens/webpack.dev.config.js
index 435eb17..dbf6f31 100644
--- a/zipkin-lens/webpack.dev.config.js
+++ b/zipkin-lens/webpack.dev.config.js
@@ -29,7 +29,7 @@ module.exports = {
   module: {
     rules: [
       {
-        test: /\.js$/,
+        test: /\.(js|jsx)$/,
         exclude: [/node_modules/],
         use: {
           loader: 'babel-loader',
@@ -68,7 +68,7 @@ module.exports = {
     ],
   },
   resolve: {
-    extensions: ['.js'],
+    extensions: ['.js', '.jsx'],
   },
   plugins: [
     new HtmlWebpackPlugin({
diff --git a/zipkin-lens/webpack.prod.config.js 
b/zipkin-lens/webpack.prod.config.js
index 6b17a32..fd6131a 100644
--- a/zipkin-lens/webpack.prod.config.js
+++ b/zipkin-lens/webpack.prod.config.js
@@ -32,7 +32,7 @@ module.exports = {
   module: {
     rules: [
       {
-        test: /\.js$/,
+        test: /\.(js|jsx)$/,
         exclude: [/node_modules/],
         use: {
           loader: 'babel-loader',
@@ -87,7 +87,7 @@ module.exports = {
     ],
   },
   resolve: {
-    extensions: ['.js'],
+    extensions: ['.js', '.jsx'],
   },
   plugins: [
     new ExtractTextPlugin('style-[hash].min.css', { allChunks: true }),

Reply via email to