The main package with base and node.js specific classes and code.js cli.
-
Use Node.js and, 16.x or newer
-
Install node modules:
npm install
npm run build
The output directory is ./package
, gitignored.
npm test
This step is optional. The ./artifacts
directory should already contain the compiled wasm.
Zopfli ZopfliDeflatePart
function compiled into a WebAssembly binary.
-
The
./zopfli
git submodule pulled:cd zopfli; git pull
npm run build-wasm
The output directory is ./artifacts
.
This directory is under git version control.
This step is optional if you're okay with the node cli.
Web base generator to be published on GitHub pages.
-
Build the package first.
-
Install node modules in
./src/gh-pages
:
cd src/gh-pages/
npm install
cd src/gh-pages/
npm run build
The output directory is ./gh-pages
/.
This directory is a git submodule that references the git repo itself, but using the gh-pages
branch.