Skip to content

Commit f5674d5

Browse files
committed
Fix regex
1 parent 08d667a commit f5674d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

babel.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ module.exports = function (api) {
1313
overrides: [
1414
{
1515
test: new RegExp(
16-
`^${path.join(__dirname, 'ui')}${slash}(?:components|contexts|hooks|layouts|pages)${slash}.+(?!\\.(?:test|stories|container))\\.(?:m?[jt]s|[jt]sx)$`,
16+
`^${path.join(__dirname, 'ui')}${slash}(?:components|contexts|hooks|layouts|pages)${slash}(?:.(?!\\.(?:test|stories|container)))+\\.(?:m?[jt]s|[jt]sx)$`,
1717
'u',
1818
),
19-
exclude: /\/node_modules\//u,
2019
plugins: [['babel-plugin-react-compiler', { target: '17' }]],
2120
},
2221
],

0 commit comments

Comments
 (0)