Skip to content

Commit e1a099a

Browse files
authored
hotfix: 3.8.17 (#996)
* chore: update deps & bump version * chore: add changelog * chore: update version of `rax-webpack-config` * chore: add changelog * chore: bump version
1 parent 927e726 commit e1a099a

File tree

7 files changed

+27
-8
lines changed

7 files changed

+27
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## Changelog
22

3+
## 3.8.17
4+
5+
- Revert: compat of postcss-loader options in build-plugin-rax-app
6+
- Revert: version of @builder/rax-pack in rax-webpack-config
7+
38
## 3.8.16
49

510
- Fix: exports field build error in webpack4

packages/plugin-rax-app/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 7.0.11
4+
5+
- Revert: compat of `postcs-loader` options
6+
37
## 7.0.10
48

59
- Fix: resolve error with `import` in webpack4

packages/plugin-rax-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "build-plugin-rax-app",
3-
"version": "7.0.10",
3+
"version": "7.0.11",
44
"description": "The basic webpack configuration for rax project",
55
"author": "Rax Team",
66
"main": "lib/index.js",
@@ -18,7 +18,7 @@
1818
],
1919
"license": "MIT",
2020
"dependencies": {
21-
"rax-webpack-config": "^3.0.5",
21+
"rax-webpack-config": "^3.0.0",
2222
"rax-babel-config": "^2.0.2",
2323
"rax-jest-config": "^1.1.0",
2424
"rax-platform-loader": "^1.1.1",
@@ -52,4 +52,4 @@
5252
"url": "[email protected]:raxjs/rax-app.git"
5353
},
5454
"gitHead": "07ac7bb07162aac8c90778dd1de4a2060f8df498"
55-
}
55+
}

packages/plugin-rax-app/src/userConfig/atoms/inlineStyle.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ function configPostCssLoader(configRule, type) {
124124
return configRule
125125
.use('postcss-loader')
126126
.tap((options) => {
127+
if (isWebpack4) {
128+
return {
129+
...options,
130+
plugins: (options.plugins || []).concat(getPostCssPlugin(type)),
131+
};
132+
}
127133
const postcssOptions = options.postcssOptions || {};
128134
return {
129135
...options,

packages/rax-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rax-app",
3-
"version": "3.8.16",
3+
"version": "3.8.17",
44
"description": "command line interface and builtin plugin for rax app",
55
"author": "Rax Team",
66
"homepage": "https://github.com/raxjs/rax-app#readme",
@@ -18,7 +18,7 @@
1818
"build-scripts": "^1.1.0",
1919
"build-plugin-app-core": "2.1.0",
2020
"build-plugin-ice-config": "2.0.2",
21-
"build-plugin-rax-app": "7.0.10",
21+
"build-plugin-rax-app": "7.0.11",
2222
"build-plugin-rax-kraken": "2.1.1",
2323
"build-plugin-rax-miniapp": "2.0.2",
2424
"build-plugin-rax-pha": "2.1.1",
@@ -56,4 +56,4 @@
5656
"node": ">=12.22.0",
5757
"npm": ">=3.0.0"
5858
}
59-
}
59+
}

packages/rax-webpack-config/CHANELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v3.0.6
4+
5+
- Revert: version of @builder/rax-pack
6+
37
## v3.0.5
48

59
- Feat: update version of `postcss-loader`

packages/rax-webpack-config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rax-webpack-config",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"description": "rax base webpack config",
55
"license": "BSD-3-Clause",
66
"main": "lib/index.js",
@@ -18,7 +18,7 @@
1818
"homepage": "https://github.com/raxjs/rax-app/tree/master/packages/rax-webpack-config#readme",
1919
"dependencies": {
2020
"@builder/pack": "^0.6.0",
21-
"@builder/rax-pack": "^1.0.0",
21+
"@builder/rax-pack": "^0.1.0",
2222
"@babel/runtime": "^7.2.0",
2323
"babel-runtime-jsx-plus": "^0.1.3",
2424
"less": "^4.0.0",

0 commit comments

Comments
 (0)