Skip to content

Commit

Permalink
add compile helper; create sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Apr 16, 2020
1 parent cb198d0 commit 30b237a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env sh

closure-compiler \
--compilation_level ADVANCED \
--js_output_file text.min.js \
--language_out ECMASCRIPT5 \
--warning_level VERBOSE \
--create_source_map %outname%.map \
text.js
8 changes: 8 additions & 0 deletions text.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30b237a

Please sign in to comment.