From 4d99bd2265ae9b762a8b6c03cbc88dfa54cdede9 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Mon, 1 Aug 2016 08:54:09 +0800 Subject: [PATCH] allow jsx or js extension --- frontend/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 1d0c7a01..1faa891e 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -6,7 +6,7 @@ const config = module.exports = { module: { loaders: [ { - test: /\.js$/, + test: /\.(js|jsx)?$/, exclude: /node_modules/, loaders: [ "babel-loader?cacheDirectory"