allow jsx or js extension
This commit is contained in:
parent
2085460c91
commit
4d99bd2265
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const config = module.exports = {
|
|||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
test: /\.(js|jsx)?$/,
|
||||
exclude: /node_modules/,
|
||||
loaders: [
|
||||
"babel-loader?cacheDirectory"
|
||||
|
|
Loading…
Add table
Reference in a new issue