You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zipkin.apache.org by ad...@apache.org on 2019/05/10 05:06:19 UTC
[incubator-zipkin] 01/02: Update webpack configs
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 <ig...@gmail.com>
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 }),