diff --git a/templates/webpack.config.js b/templates/webpack.config.js index bfb589f82..8373e9e2d 100644 --- a/templates/webpack.config.js +++ b/templates/webpack.config.js @@ -180,7 +180,7 @@ module.exports = { /node_modules(.*[/\\])+pretty-format/, /node_modules(.*[/\\])+metro/, /node_modules(.*[/\\])+abort-controller/, - /node_modules(.*[/\\])+@callstack\/nativepack/, + /node_modules(.*[/\\])+@callstack[/\\]nativepack/, ], use: 'babel-loader', },