deno.land / x / sheetjs@v0.18.3 / misc / strip_sourcemap.sh

strip_sourcemap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash# strip_sourcemap.sh -- strip sourcemaps from a JS file (missing from uglifyjs)# Copyright (C) 2014-present SheetJS# note: this version also renames write_shift / read_shift to _W / _R
if [ $# -gt 0 ]; then if [ -e "$1" ]; then sed -i.sheetjs '/sourceMappingURL/d' "$1" sed -i.sheetjs 's/write_shift/_W/g; s/read_shift/_R/g' "$1" fielse cat - | sed '/sourceMappingURL/d' | sed 's/write_shift/_W/g; s/read_shift/_R/g'fi
sheetjs
📗 SheetJS Community Edition -- Spreadsheet Data Toolkit
GitHub RepositorySheetJS/sheetjs
GitHub Stars
32133

Version Info

Tagged at
11 months ago