Skip to content

Commit

Permalink
refactor: hide .map files from output tree
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed May 5, 2022
1 parent 04e2f26 commit 45f48a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function printFSTree (dir: string) {
return
}

const files = await globby('**/*.*', { cwd: dir })
const files = await globby('**/*.*', { cwd: dir, ignore: ['*.map'] })

const items = (await Promise.all(files.map(async (file) => {
const path = resolve(dir, file)
Expand Down

0 comments on commit 45f48a3

Please sign in to comment.