@docusaurus/plugin-ideal-image 3.10.1-canary-6610 → 3.10.1-canary-6611
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/lib/index.js +1 -1
- package/package.json +8 -8
- package/src/index.ts +1 -1
package/lib/index.js
CHANGED
|
@@ -52,7 +52,7 @@ function pluginIdealImage(context, options) {
|
|
|
52
52
|
options: {
|
|
53
53
|
// Don't emit for server-side rendering
|
|
54
54
|
emitFile: !isServer,
|
|
55
|
-
// eslint-disable-next-line
|
|
55
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
56
56
|
adapter: require('@docusaurus/responsive-loader/sharp'),
|
|
57
57
|
name: 'assets/ideal-img/[name].[hash:hex:7].[width].[ext]',
|
|
58
58
|
...loaderOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-ideal-image",
|
|
3
|
-
"version": "3.10.1-canary-
|
|
3
|
+
"version": "3.10.1-canary-6611",
|
|
4
4
|
"description": "Docusaurus Plugin to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder).",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-ideal-image.d.ts",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@docusaurus/core": "3.10.1-canary-
|
|
24
|
-
"@docusaurus/lqip-loader": "3.10.1-canary-
|
|
23
|
+
"@docusaurus/core": "3.10.1-canary-6611",
|
|
24
|
+
"@docusaurus/lqip-loader": "3.10.1-canary-6611",
|
|
25
25
|
"@docusaurus/responsive-loader": "^1.7.1",
|
|
26
|
-
"@docusaurus/theme-translations": "3.10.1-canary-
|
|
27
|
-
"@docusaurus/types": "3.10.1-canary-
|
|
28
|
-
"@docusaurus/utils-validation": "3.10.1-canary-
|
|
26
|
+
"@docusaurus/theme-translations": "3.10.1-canary-6611",
|
|
27
|
+
"@docusaurus/types": "3.10.1-canary-6611",
|
|
28
|
+
"@docusaurus/utils-validation": "3.10.1-canary-6611",
|
|
29
29
|
"sharp": "^0.34.5",
|
|
30
30
|
"tslib": "^2.6.0",
|
|
31
31
|
"webpack": "^5.106.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@docusaurus/module-type-aliases": "3.10.1-canary-
|
|
34
|
+
"@docusaurus/module-type-aliases": "3.10.1-canary-6611",
|
|
35
35
|
"fs-extra": "^11.2.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=24.14"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "1415301312e8a95204263b5c23892b818deff26c"
|
|
51
51
|
}
|
package/src/index.ts
CHANGED
|
@@ -67,7 +67,7 @@ export default function pluginIdealImage(
|
|
|
67
67
|
options: {
|
|
68
68
|
// Don't emit for server-side rendering
|
|
69
69
|
emitFile: !isServer,
|
|
70
|
-
// eslint-disable-next-line
|
|
70
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
71
71
|
adapter: require('@docusaurus/responsive-loader/sharp'),
|
|
72
72
|
name: 'assets/ideal-img/[name].[hash:hex:7].[width].[ext]',
|
|
73
73
|
...loaderOptions,
|