diff --git a/scripts/patch_gitignore.sh b/scripts/patch_gitignore.sh index 587aa9bb..846db1e1 100644 --- a/scripts/patch_gitignore.sh +++ b/scripts/patch_gitignore.sh @@ -4,7 +4,7 @@ sed -i "/^\/dist\/$/d" .gitignore # Replace the /node_modules*/ entry in gitignore with the following -sed -i 's|/node_modules\*\/|/node_modules/*\ +sed -i 's|/node_modules\*/|/node_modules/*\ !/node_modules/jquery\ /node_modules/jquery/*\ !/node_modules/jquery/dist\