chore(gitignore): ignore JavaScript sourcemap files
Add *.map pattern to .gitignore to exclude JavaScript sourcemap files from version control. These files are generated during the build process and are not needed in the repository, matching the existing pattern for TypeScript declaration maps (*.d.ts.map). This prevents accidentally committing generated sourcemap files like collections.js.map that provide debugging information but are not necessary for deployment or source control.
This commit is contained in:
1 parent
1352d05ca3
commit
07d1143b7b
1 file changed
+1
@@ -14,6 +14,7 @@ package-lock.json
|
||||
# TypeScript
|
||||
*.tsbuildinfo
|
||||
*.d.ts.map
|
||||
*.map
|
||||
|
||||
# Compiled JavaScript (keep .ts source, ignore .js)
|
||||
# Exception: Downloaded documentation dependencies
|
||||
|
||||
Reference in new issue
Block a user