Skip to content

Commit 2eb18c9

Browse files
chore: Add PR's requested changes
1 parent 4836ecb commit 2eb18c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module.exports = {
8787
{
8888
// Fix for webpack 5 + ESM packages (e.g. @marsidev/react-turnstile) that import
8989
// react/jsx-runtime without the .js extension, which webpack 5 requires in strict ESM mode.
90-
test: /\.m?js/,
90+
test: /\.m?js$/,
9191
include: /node_modules/,
9292
resolve: { fullySpecified: false }
9393
},

0 commit comments

Comments
 (0)