@rsbuild/plugin-stylus 0.7.0-beta.2 → 0.7.0-beta.4

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.cjs CHANGED
@@ -50,8 +50,8 @@ function pluginStylus(options) {
50
50
  mergeFn: import_shared.deepmerge
51
51
  });
52
52
  const rule = chain.module.rule(utils.CHAIN_ID.RULE.STYLUS).test(STYLUS_REGEX);
53
- const { applyCSSRule } = await import("@rsbuild/core/internal");
54
- await applyCSSRule({
53
+ const { __internalHelper } = await import("@rsbuild/core");
54
+ await __internalHelper.applyCSSRule({
55
55
  rule,
56
56
  config,
57
57
  context: api.context,
package/dist/index.js CHANGED
@@ -31,8 +31,8 @@ function pluginStylus(options) {
31
31
  mergeFn: deepmerge
32
32
  });
33
33
  const rule = chain.module.rule(utils.CHAIN_ID.RULE.STYLUS).test(STYLUS_REGEX);
34
- const { applyCSSRule } = await import("@rsbuild/core/internal");
35
- await applyCSSRule({
34
+ const { __internalHelper } = await import("@rsbuild/core");
35
+ await __internalHelper.applyCSSRule({
36
36
  rule,
37
37
  config,
38
38
  context: api.context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-stylus",
3
- "version": "0.7.0-beta.2",
3
+ "version": "0.7.0-beta.4",
4
4
  "description": "Stylus plugin for Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -25,17 +25,17 @@
25
25
  "dependencies": {
26
26
  "stylus": "0.63.0",
27
27
  "stylus-loader": "8.1.0",
28
- "@rsbuild/shared": "0.7.0-beta.2"
28
+ "@rsbuild/shared": "0.7.0-beta.4"
29
29
  },
30
30
  "devDependencies": {
31
31
  "typescript": "^5.4.2",
32
32
  "webpack": "^5.91.0",
33
- "@rsbuild/core": "0.7.0-beta.2",
34
- "@rsbuild/webpack": "0.7.0-beta.2",
35
- "@scripts/test-helper": "0.7.0-beta.2"
33
+ "@rsbuild/core": "0.7.0-beta.4",
34
+ "@rsbuild/webpack": "0.7.0-beta.4",
35
+ "@scripts/test-helper": "0.7.0-beta.4"
36
36
  },
37
37
  "peerDependencies": {
38
- "@rsbuild/core": "^0.7.0-beta.2"
38
+ "@rsbuild/core": "^0.7.0-beta.4"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public",