Skip to content

Commit

Permalink
adding global-name=jpeg for module imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rii-mango committed May 12, 2023
1 parent e45a96b commit 1d993a4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion build.properties

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jpeg-lossless-decoder-js",
"version": "2.0.5",
"version": "2.0.6",
"description": "A JavaScript JPEG Lossless decoder.",
"main": "src/main.js",
"directories": {
Expand All @@ -13,7 +13,7 @@
},
"scripts": {
"test": "mocha tests",
"build": "rm -rf build; mkdir build; esbuild src/main.js --bundle --outfile=build/lossless.js; esbuild src/main.js --bundle --minify --outfile=build/lossless-min.js",
"build": "rm -rf build; mkdir build; esbuild src/main.js --bundle --global-name=jpeg --outfile=build/lossless.js; esbuild src/main.js --bundle --global-name=jpeg --minify --outfile=build/lossless-min.js",
"release": "rm release/current/*.js; cp build/*.js release/current/.",
"doc": "rm -rf build; mkdir build; ./node_modules/.bin/jsdoc2md src/*.js > build/docs.md"
},
Expand Down
Loading

0 comments on commit 1d993a4

Please sign in to comment.