-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rename
ldc.js
, ldc.min.js
to index.js
and index.min.js
- upgrade modules - add `main` and `browser` field in `package.json`. - further minimize generated js file with mangling and compression - remove assets files from git - patch test code to make it work with upgraded modules - release with compact directory structure - bump version
- Loading branch information
Showing
15 changed files
with
6,678 additions
and
788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.*.swp | ||
.swp | ||
node_modules | ||
web/static/assets/lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
# 0.0.2 | ||
# Change Logs | ||
|
||
## v0.0.3 | ||
|
||
- rename `ldc.js`, `ldc.min.js` to `index.js` and `index.min.js` | ||
- upgrade modules | ||
- add `main` and `browser` field in `package.json`. | ||
- further minimize generated js file with mangling and compression | ||
- remove assets files from git | ||
- patch test code to make it work with upgraded modules | ||
- release with compact directory structure | ||
|
||
|
||
## v0.0.2 | ||
|
||
- update module name to `@loadingio/ldc` | ||
- upgrade dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
rm -rf dist | ||
mkdir -p dist | ||
echo "build src/ldc.ls -> dist/ldc.js ..." | ||
./node_modules/.bin/lsc -cbp src/ldc.ls > dist/ldc.js | ||
echo "minifying ldc.js ..." | ||
./node_modules/.bin/uglifyjs dist/ldc.js > dist/ldc.min.js | ||
echo "build src/index.ls -> dist/index.js ..." | ||
./node_modules/.bin/lsc -cp --no-header src/index.ls > dist/index.js | ||
echo "minifying index.js ..." | ||
./node_modules/.bin/uglifyjs dist/index.js -c -m > dist/index.min.js | ||
echo "deploy into local web ..." | ||
mkdir -p web/static/assets/lib/ldc/ | ||
cp -R dist/* web/static/assets/lib/ldc/ | ||
mkdir -p web/static/assets/lib/@loadingio/ldc/ | ||
cp -R dist/* web/static/assets/lib/@loadingio/ldc/ | ||
echo "done." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.