issues
search
jamsinclair
/
jSquash
Browser & Web Worker focussed wasm bundles derived from the Squoosh App.
Apache License 2.0
222
stars
14
forks
source link
Basic Node Support
#40
Closed
jamsinclair
closed
10 months ago
jamsinclair
commented
10 months ago
Fixes #38
Changes
Fixes relative imports to be compatible with Node.js by using
.js
extension
Adds global formatting with prettier
Adds basic eslint setup
Only asserting all relative imports have an extension
Updates multi-threaded modules to check if they're running in Node, if so, they use single threaded path always.
Updates
pre.js
scripts to also polyfill ImageData for Node.js
Fixes #38
Changes
.js
extensionpre.js
scripts to also polyfill ImageData for Node.js