mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
Enable .jsx extension.
Fixes #13124 Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
parent
f7f32afee7
commit
1ffac62397
@ -80,7 +80,7 @@ module.exports = ({
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.m?js$/,
|
||||
test: /\.m?jsx?$/,
|
||||
include: cacheDir,
|
||||
oneOf: [
|
||||
// Use babel-loader for files that distinct the ee and ce code
|
||||
@ -143,7 +143,7 @@ module.exports = ({
|
||||
],
|
||||
},
|
||||
{
|
||||
test: /\.m?js$/,
|
||||
test: /\.m?jsx?$/,
|
||||
include: pluginsPath,
|
||||
use: {
|
||||
loader: require.resolve('esbuild-loader'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user