Skip to content

Commit 4bea110

Browse files
committed
fix: paths
1 parent 07cf2c9 commit 4bea110

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/repack/src/plugins/RepackTargetPlugin/RepackTargetPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class RepackTargetPlugin implements RspackPluginInstance {
9393

9494
// Ensure single instance of asset registry is used at all times
9595
new compiler.webpack.NormalModuleReplacementPlugin(
96-
/@react-native.*?([/\\]+)assets-registry[/\\]registry\.js$/,
96+
/@react-native.*?([/\\]+)assets-registry([/\\]+)registry\.js$/,
9797
(resource) => {
9898
// prevent including the proxy module itself
9999
if (resource.contextInfo.issuer !== assetsRegistryProxyPath) {

0 commit comments

Comments
 (0)