@rsbuild/plugin-styled-components 0.7.0-beta.0 → 0.7.0-beta.2
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 +7 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { RsbuildPlugin } from '@rsbuild/core';
|
|
2
|
+
import { ChainedConfig } from '@rsbuild/shared';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* the options of [rspackExperiments.styledComponents](https://rspack.dev/guide/features/builtin-swc-loader#rspackexperimentsstyledcomponents).
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
+
type PluginStyledComponentsOptions = {
|
|
7
8
|
displayName?: boolean;
|
|
8
9
|
ssr?: boolean;
|
|
9
10
|
fileName?: boolean;
|
|
@@ -15,4 +16,6 @@ export type PluginStyledComponentsOptions = {
|
|
|
15
16
|
pure?: boolean;
|
|
16
17
|
cssProps?: boolean;
|
|
17
18
|
};
|
|
18
|
-
|
|
19
|
+
declare const pluginStyledComponents: (pluginOptions?: ChainedConfig<PluginStyledComponentsOptions>) => RsbuildPlugin;
|
|
20
|
+
|
|
21
|
+
export { type PluginStyledComponentsOptions, pluginStyledComponents };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-styled-components",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.2",
|
|
4
4
|
"description": "styled-components plugin for Rsbuild",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@rsbuild/shared": "0.7.0-beta.
|
|
25
|
+
"@rsbuild/shared": "0.7.0-beta.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "18.x",
|
|
29
29
|
"typescript": "^5.4.2",
|
|
30
|
-
"@rsbuild/core": "0.7.0-beta.
|
|
30
|
+
"@rsbuild/core": "0.7.0-beta.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@rsbuild/core": "^0.7.0-beta.
|
|
33
|
+
"@rsbuild/core": "^0.7.0-beta.2"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public",
|