@docusaurus/plugin-ideal-image 0.0.0-4261 → 0.0.0-4265
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 +6 -0
- package/package.json +5 -6
- package/src/index.ts +1 -0
package/lib/index.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
2
8
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
3
9
|
const tslib_1 = require('tslib');
|
|
4
10
|
const path_1 = (0, tslib_1.__importDefault)(require('path'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-ideal-image",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4265",
|
|
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",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@docusaurus/
|
|
24
|
+
"@docusaurus/core": "0.0.0-4265",
|
|
25
|
+
"@docusaurus/lqip-loader": "0.0.0-4265",
|
|
25
26
|
"@docusaurus/responsive-loader": "1.5.0",
|
|
26
27
|
"@endiliey/react-ideal-image": "^0.0.11",
|
|
27
28
|
"react-waypoint": "^10.1.0",
|
|
@@ -30,17 +31,15 @@
|
|
|
30
31
|
"webpack": "^5.61.0"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
|
-
"@docusaurus/
|
|
34
|
-
"@docusaurus/types": "0.0.0-4261",
|
|
34
|
+
"@docusaurus/types": "0.0.0-4265",
|
|
35
35
|
"fs-extra": "^10.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@docusaurus/core": "2.0.0-beta.9",
|
|
39
38
|
"react": "^16.8.4 || ^17.0.0",
|
|
40
39
|
"react-dom": "^16.8.4 || ^17.0.0"
|
|
41
40
|
},
|
|
42
41
|
"engines": {
|
|
43
42
|
"node": ">=14"
|
|
44
43
|
},
|
|
45
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "01f202268be747eda8fdfe8c6d3356fce73a0094"
|
|
46
45
|
}
|
package/src/index.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
|
|
7
8
|
import {LoadContext, Plugin} from '@docusaurus/types';
|
|
8
9
|
import type {PluginOptions} from '@docusaurus/plugin-ideal-image';
|
|
9
10
|
import {Configuration} from 'webpack';
|