Skip to content

Commit

Permalink
Ignore json files for sourcemap validation (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
academo authored Jun 6, 2023
1 parent 650fdf2 commit 8c02dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sourcemap/sourcemap.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func isIgnoredFile(sourceName string) bool {
if strings.Contains(sourceName, "/node_modules/.pnpm/") {
return true
}
var ignoredExtensions = []string{".css", ".scss", ".sass", ".less", ".svg"}
var ignoredExtensions = []string{".css", ".scss", ".sass", ".less", ".svg", ".json"}
for _, ext := range ignoredExtensions {
if strings.HasSuffix(sourceName, ext) {
return true
Expand Down

0 comments on commit 8c02dc1

Please sign in to comment.