Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
Move compiled files to lib.min
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Feb 5, 2018
1 parent d9cb196 commit 84ff0d1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ temp.*
*.tern-project
*.tern-project.json
/lib/*.js
/lib.min

# Logs
logs
Expand Down
6 changes: 2 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ jest.config*
/sh
/coverage
docs
lib/*.ls
lib/*.js
lib/*.js.map
!/lib/*.min.js
lib
*.js.map
/.vscode
/.atom
/.watchmanconfig
2 changes: 1 addition & 1 deletion bin/qr-image-bin.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#! /usr/bin/env node
require('../lib/qr-image-bin.min.js')
require('../lib.min/qr-image-bin.js')
4 changes: 2 additions & 2 deletions sh/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ function build () (
(
uglifyjs \
--output \
lib/$name.min.js \
lib.min/$name.js \
--compress \
--source-map \
"filename='lib/$name.min.js.map',content='lib/$name.js.map'" \
"filename='lib.min/$name.js.map',content='lib/$name.js.map'" \
-- \
lib/$name.js
) || exit $?
Expand Down

0 comments on commit 84ff0d1

Please sign in to comment.