@rsbuild/plugin-svgr 0.0.24 → 0.0.26
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.d.ts +2 -2
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RsbuildPlugin } from '@rsbuild/core';
|
|
2
2
|
|
|
3
3
|
type SvgDefaultExport = 'component' | 'url';
|
|
4
4
|
type PluginSvgrOptions = {
|
|
@@ -7,6 +7,6 @@ type PluginSvgrOptions = {
|
|
|
7
7
|
*/
|
|
8
8
|
svgDefaultExport?: SvgDefaultExport;
|
|
9
9
|
};
|
|
10
|
-
declare const pluginSvgr: (options?: PluginSvgrOptions) =>
|
|
10
|
+
declare const pluginSvgr: (options?: PluginSvgrOptions) => RsbuildPlugin;
|
|
11
11
|
|
|
12
12
|
export { PluginSvgrOptions, SvgDefaultExport, pluginSvgr };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-svgr",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "svgr plugin for Rsbuild",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@svgr/webpack": "8.0.1",
|
|
25
25
|
"url-loader": "4.1.1",
|
|
26
|
-
"@rsbuild/shared": "0.0.
|
|
26
|
+
"@rsbuild/shared": "0.0.26"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^16",
|
|
30
30
|
"typescript": "^5.2.2",
|
|
31
|
-
"@rsbuild/
|
|
32
|
-
"@rsbuild/
|
|
31
|
+
"@rsbuild/test-helper": "0.0.26",
|
|
32
|
+
"@rsbuild/core": "0.0.26"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public",
|