Skip to content

Commit 3ac0d1c

Browse files
committed
Fix regex
1 parent 9595d1e commit 3ac0d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

development/webpack/webpack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ const config = {
325325
type: 'asset/resource',
326326
},
327327
{
328-
test: /(?!\.(?:test|stories|container))\.(?:m?[jt]s|[jt]sx)$/u,
328+
test: /^(?!.*\.(test|stories|container)\.)(?:m?[jt]s|[jt]sx)$/u,
329329
include: UI_DIR_RE,
330330
use: [
331331
{

0 commit comments

Comments
 (0)