Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 367 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 367 Bytes

prune-sourcemaps

Recursively deletes sourcemap files and sourcemap comments under a directory

Usage

npx prune-sourcemaps <directory>

Install for programmatic use

pnpm add prune-sourcemaps
import { pruneSourcemaps } from 'prune-sourcemaps'

const pruned /* : Set<string> */ = await pruneSourcemaps('/path/to/directory')