@etu-wiki/sharp-iiif-shims 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14,3 +14,4 @@ pako/dist/pako.esm.mjs:
|
|
|
14
14
|
lerc/LercDecode.js:
|
|
15
15
|
(* Copyright 2015-2021 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve *)
|
|
16
16
|
*/
|
|
17
|
+
module.exports = module.exports.default || module.exports;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etu-wiki/sharp-iiif-shims",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"description": "shims for sharp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
|
16
|
-
"build:cjs": "esbuild ./src/index.mjs --bundle --minify --format=cjs --external:sharp --outfile=dist/index.cjs",
|
|
16
|
+
"build:cjs": "esbuild ./src/index.mjs --bundle --minify --format=cjs --external:sharp --outfile=dist/index.cjs --footer:js=\"module.exports = module.exports.default || module.exports;\"",
|
|
17
17
|
"build:esm": "esbuild ./src/index.mjs --bundle --minify --format=esm --external:sharp --outfile=dist/index.mjs",
|
|
18
18
|
"build": "mkdir -p dist && npm run build:cjs && npm run build:esm",
|
|
19
19
|
"prepublishOnly": "npm run build"
|