forked from sheetjs/sheetjs
SheetJS
2a756fffcc
- codepage updated to 1.6.0 (latest) - clean up Makefile - adapted .travis.yml to support 0.8 - removed test files that drifted from baseline - removed XLSB pseudo-inverse tests due to fails in node 4+
12 lines
267 B
Bash
Executable File
12 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
# strip_sourcemap.sh -- strip sourcemaps from a JS file (missing from uglifyjs)
|
|
# Copyright (C) 2014-present SheetJS
|
|
|
|
if [ $# -gt 0 ]; then
|
|
if [ -e "$1" ]; then
|
|
sed -i .sheetjs '/sourceMappingURL/d' "$1"
|
|
fi
|
|
else
|
|
cat - | sed '/sourceMappingURL/d'
|
|
fi
|