diff --git a/docs/Configuration.md b/docs/Configuration.md index 69261b6cc7b4..681d3122c9c8 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -301,7 +301,7 @@ Example: { "moduleNameMapper": { "^image![a-zA-Z0-9$_-]+$": "GlobalImageStub", - "^[./a-zA-Z0-9$_-]+.png$": "/RelativeImageStub.js", + "^[./a-zA-Z0-9$_-]+\\.png$": "/RelativeImageStub.js", "module_name_(.*)": "/substituted_module_$1.js", }, }