next-imagetools 0.0.0 → 0.1.0
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/README.md
CHANGED
|
@@ -55,7 +55,7 @@ pnpm add next-imagetools
|
|
|
55
55
|
# or: npm install next-imagetools / yarn add next-imagetools
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
**Requirements:** Next.js 16.2 or newer
|
|
58
|
+
**Requirements:** Next.js 16.2 or newer and Node.js 22.12 or newer. Next.js builds with Turbopack by default; projects that opt into webpack (`next dev --webpack`, `next build --webpack`) aren't supported yet — support is planned for the next release ([#23](https://github.com/awdr74100/next-imagetools/issues/23)).
|
|
59
59
|
|
|
60
60
|
Wrap your Next.js config with `withImagetools`:
|
|
61
61
|
|
package/dist/asset-loader.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-C5zWV4nI.cjs");
|
|
6
6
|
let node_fs_promises = require("node:fs/promises");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
// src/asset-loader.ts
|
package/dist/loader.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-C5zWV4nI.cjs");
|
|
6
6
|
let node_fs_promises = require("node:fs/promises");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path, 1);
|
|
@@ -29,7 +29,7 @@ sharp = __toESM(sharp, 1);
|
|
|
29
29
|
let node_crypto = require("node:crypto");
|
|
30
30
|
let node_fs = require("node:fs");
|
|
31
31
|
// package.json
|
|
32
|
-
var version = "0.
|
|
32
|
+
var version = "0.1.0";
|
|
33
33
|
// src/shared.ts
|
|
34
34
|
const toParams = (directives) => directives === void 0 ? void 0 : new URLSearchParams(directives);
|
|
35
35
|
const DEFAULT_CACHE_DIR = "node_modules/.cache/next-imagetools";
|
package/package.json
CHANGED