Skip to content

Commit

Permalink
Add oxipng codec
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilwanner committed May 17, 2020
1 parent 67ba8e4 commit d3bfa0a
Show file tree
Hide file tree
Showing 16 changed files with 680 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"rules": {
"import/extensions": ["error", {
"d.ts": "always"
}]
}],
"import/prefer-default-export": "off"
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ npm-debug.log*
# project
lib
tmp
target
3 changes: 2 additions & 1 deletion packages/mozjpeg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

set -e

echo "Building wasm-codec-mozjpeg.."
cd /build
rm -rf ./lib
mkdir ./lib

echo "Building wasm-codecs-mozjpeg.."
emcc \
--bind \
-s ALLOW_MEMORY_GROWTH=1 \
Expand Down
2 changes: 1 addition & 1 deletion packages/oxipng/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../.eslintrc.json",
"rules": {
"import/no-unresolved": ["error", {
"ignore": ["/optipng$"]
"ignore": ["/oxipng$"]
}]
}
}
Loading

0 comments on commit d3bfa0a

Please sign in to comment.