@rsbuild/plugin-stylus 0.0.28 → 1.0.0
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.js +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
36
36
|
var import_shared = require("@rsbuild/shared");
|
|
37
37
|
function pluginStylus(options) {
|
|
38
38
|
return {
|
|
39
|
-
name: "
|
|
39
|
+
name: "rsbuild:stylus",
|
|
40
40
|
setup(api) {
|
|
41
41
|
const { bundlerType } = api.context;
|
|
42
42
|
api.modifyBundlerChain(async (chain, utils) => {
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
6
6
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
7
|
});
|
|
8
8
|
|
|
9
|
-
// ../../node_modules/.pnpm/@modern-js+module-tools@2.40.0_typescript@5.
|
|
9
|
+
// ../../node_modules/.pnpm/@modern-js+module-tools@2.40.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
|
|
10
10
|
import { fileURLToPath } from "url";
|
|
11
11
|
import path from "path";
|
|
12
12
|
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "@rsbuild/shared";
|
|
24
24
|
function pluginStylus(options) {
|
|
25
25
|
return {
|
|
26
|
-
name: "
|
|
26
|
+
name: "rsbuild:stylus",
|
|
27
27
|
setup(api) {
|
|
28
28
|
const { bundlerType } = api.context;
|
|
29
29
|
api.modifyBundlerChain(async (chain, utils) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-stylus",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Stylus plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"stylus": "0.59.0",
|
|
26
26
|
"stylus-loader": "7.1.0",
|
|
27
|
-
"@rsbuild/shared": "0.0
|
|
27
|
+
"@rsbuild/shared": "1.0.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"typescript": "^5.
|
|
30
|
+
"typescript": "^5.3.0",
|
|
31
31
|
"webpack": "^5.89.0",
|
|
32
|
-
"@rsbuild/test-helper": "0.0
|
|
33
|
-
"@rsbuild/
|
|
34
|
-
"@rsbuild/
|
|
32
|
+
"@rsbuild/test-helper": "1.0.0",
|
|
33
|
+
"@rsbuild/core": "1.0.0",
|
|
34
|
+
"@rsbuild/webpack": "1.0.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@rsbuild/core": "^0.0
|
|
37
|
+
"@rsbuild/core": "^1.0.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
40
40
|
"@rsbuild/core": {
|