Skip to content

Commit

Permalink
- upgrade modules
Browse files Browse the repository at this point in the history
 - 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
 - update window only if window is defined
 - bump version
  • Loading branch information
zbryikt committed Jan 19, 2022
1 parent 8eefca6 commit 3b2ee52
Show file tree
Hide file tree
Showing 208 changed files with 528 additions and 33,647 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.*.swp
node_modules
web/static/assets/lib/
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## v3.0.0

- 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
- update window only if window is defined


## v2.1.0

- add `toggler` function
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "build src/ldld.ls -> dist/index.js ..."
echo "build src/ldld.styl -> dist/index.css ..."
./node_modules/.bin/stylus -p src/ldld.styl > dist/index.css
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 "minifying index.css ..."
./node_modules/.bin/uglifycss dist/index.css > dist/index.min.css
echo "done."
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
});
if (typeof module != 'undefined' && module !== null) {
module.exports = ldloader;
} else {
} else if (typeof window != 'undefined' && window !== null) {
window.ldloader = ldloader;
}
function import$(obj, src){
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

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

Loading

0 comments on commit 3b2ee52

Please sign in to comment.