diff --git a/core/.gitignore b/core/.gitignore
index 0ee3d5607c..d11a8c350b 100644
--- a/core/.gitignore
+++ b/core/.gitignore
@@ -5,3 +5,4 @@ node_modules
 # Ignore overrides of core's phpcs.xml.dist and phpunit.xml.dist.
 phpcs.xml
 phpunit.xml
+/package-lock.json
