Skip to content

Commit

Permalink
- upgrade modules
Browse files Browse the repository at this point in the history
 - release with compact directory structure
 - 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
 - bump version
  • Loading branch information
zbryikt committed Jan 19, 2022
1 parent 5e51ccc commit da8ea25
Show file tree
Hide file tree
Showing 85 changed files with 1,769 additions and 52,598 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
demo/_public
.*.swp
web/.view/
web/static/assets/lib/
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Logs

## v2.0.0

- rename `ldResize` to `ldresize`
- rename `ldr.js`, `ldr.min.js` to `index.js` and `index.min.js`
- upgrade modules
- release with compact directory structure
- add `style` in `package.json`
- 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


## v1.0.1

- `fromURL` should throw Error/reject if http request is not successful.
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mkdir -p dist
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 > dist/index.min.js
./node_modules/.bin/uglifyjs dist/index.js -m -c > dist/index.min.js
echo "deploy to web folder..."
rm -rf web/static/assets/ldfile/dev/
mkdir -p web/static/assets/ldfile/dev/
Expand Down
Loading

0 comments on commit da8ea25

Please sign in to comment.