@rsmax/postcss-tag 1.3.11 → 1.3.12
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/CHANGELOG.md +6 -0
- package/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.3.12](https://github.com/remaxjs/remax/compare/v1.3.11...v1.3.12) (2025-06-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **postcss-tag:** 修复 rsmax 文档位置与 remax 替换为 rsmax ([84941a2](https://github.com/remaxjs/remax/commit/84941a27551ade8b0c85d8873715aad6980ffdcc))
|
|
11
|
+
|
|
6
12
|
## [1.3.11](https://github.com/remaxjs/remax/compare/v1.3.8...v1.3.11) (2025-06-04)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @rsmax/postcss-tag
|
package/index.js
CHANGED
|
@@ -12,13 +12,13 @@ module.exports = (opts = {}) => {
|
|
|
12
12
|
Rule(rule) {
|
|
13
13
|
// Check if the rule selector is 'page'
|
|
14
14
|
if (rule.selector === 'page') {
|
|
15
|
-
// Transform 'page' selector to '.
|
|
15
|
+
// Transform 'page' selector to '.rsmax-page'
|
|
16
16
|
rule.selector = '.rsmax-page';
|
|
17
17
|
|
|
18
18
|
// Show warning only once per file
|
|
19
19
|
if (!rule.warn) {
|
|
20
20
|
console.warn(
|
|
21
|
-
'如果要兼容 web 应用,请不要在样式中使用 page 选择器,具体请参考 https://remaxjs.
|
|
21
|
+
'如果要兼容 web 应用,请不要在样式中使用 page 选择器,具体请参考 https://remaxjs.wdchiphop.cn/guide/framework/style.html'
|
|
22
22
|
);
|
|
23
23
|
rule.warn = true;
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsmax/postcss-tag",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": "git@github.com:remaxjs/remax.git",
|
|
6
6
|
"author": "Caihuanyu <eterlf41@gmail.com>",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "74826f663163c25ebec0017a0e9d5cacea0ca6fc"
|
|
15
15
|
}
|