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:
@@ -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