@rsbuild/plugin-stylus 1.0.3 → 1.0.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 +2 -3
- package/dist/index.js +1 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var __webpack_require__ = {};
|
|
4
4
|
/************************************************************************/ // webpack/runtime/compat_get_default_export
|
|
5
5
|
(()=>{
|
|
6
|
-
// getDefaultExport function for compatibility with non-
|
|
6
|
+
// getDefaultExport function for compatibility with non-ESM modules
|
|
7
7
|
__webpack_require__.n = function(module1) {
|
|
8
8
|
var getter = module1 && module1.__esModule ? function() {
|
|
9
9
|
return module1['default'];
|
|
@@ -62,8 +62,7 @@ const PLUGIN_STYLUS_NAME = 'rsbuild:stylus';
|
|
|
62
62
|
const pluginStylus = (options)=>({
|
|
63
63
|
name: PLUGIN_STYLUS_NAME,
|
|
64
64
|
setup (api) {
|
|
65
|
-
api.modifyBundlerChain(async (chain,
|
|
66
|
-
let { CHAIN_ID, environment } = param;
|
|
65
|
+
api.modifyBundlerChain(async (chain, { CHAIN_ID, environment })=>{
|
|
67
66
|
const { config } = environment;
|
|
68
67
|
const mergedOptions = (0, external_reduce_configs_namespaceObject.reduceConfigs)({
|
|
69
68
|
initial: {
|
package/dist/index.js
CHANGED
|
@@ -6,8 +6,7 @@ const PLUGIN_STYLUS_NAME = 'rsbuild:stylus';
|
|
|
6
6
|
const pluginStylus = (options)=>({
|
|
7
7
|
name: PLUGIN_STYLUS_NAME,
|
|
8
8
|
setup (api) {
|
|
9
|
-
api.modifyBundlerChain(async (chain,
|
|
10
|
-
let { CHAIN_ID, environment } = param;
|
|
9
|
+
api.modifyBundlerChain(async (chain, { CHAIN_ID, environment })=>{
|
|
11
10
|
const { config } = environment;
|
|
12
11
|
const mergedOptions = (0, __WEBPACK_EXTERNAL_MODULE_reduce_configs__.reduceConfigs)({
|
|
13
12
|
initial: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-stylus",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Stylus plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"deepmerge": "^4.3.1",
|
|
27
27
|
"reduce-configs": "^1.0.0",
|
|
28
|
-
"stylus": "0.
|
|
28
|
+
"stylus": "0.64.0",
|
|
29
29
|
"stylus-loader": "8.1.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "18.x",
|
|
33
33
|
"typescript": "^5.6.3",
|
|
34
|
-
"@rsbuild/core": "1.0.
|
|
34
|
+
"@rsbuild/core": "1.0.17",
|
|
35
35
|
"@scripts/test-helper": "1.0.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|