Skip to content

Commit

Permalink
hotfix: 3.8.17 (#996)
Browse files Browse the repository at this point in the history
* chore: update deps & bump version

* chore: add changelog

* chore: update version of `rax-webpack-config`

* chore: add changelog

* chore: bump version
  • Loading branch information
wjq990112 authored Apr 24, 2022
1 parent 927e726 commit e1a099a
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

## 3.8.17

- Revert: compat of postcss-loader options in build-plugin-rax-app
- Revert: version of @builder/rax-pack in rax-webpack-config

## 3.8.16

- Fix: exports field build error in webpack4
Expand Down
4 changes: 4 additions & 0 deletions packages/plugin-rax-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 7.0.11

- Revert: compat of `postcs-loader` options

## 7.0.10

- Fix: resolve error with `import` in webpack4
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-rax-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "build-plugin-rax-app",
"version": "7.0.10",
"version": "7.0.11",
"description": "The basic webpack configuration for rax project",
"author": "Rax Team",
"main": "lib/index.js",
Expand All @@ -18,7 +18,7 @@
],
"license": "MIT",
"dependencies": {
"rax-webpack-config": "^3.0.5",
"rax-webpack-config": "^3.0.0",
"rax-babel-config": "^2.0.2",
"rax-jest-config": "^1.1.0",
"rax-platform-loader": "^1.1.1",
Expand Down Expand Up @@ -52,4 +52,4 @@
"url": "[email protected]:raxjs/rax-app.git"
},
"gitHead": "07ac7bb07162aac8c90778dd1de4a2060f8df498"
}
}
6 changes: 6 additions & 0 deletions packages/plugin-rax-app/src/userConfig/atoms/inlineStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ function configPostCssLoader(configRule, type) {
return configRule
.use('postcss-loader')
.tap((options) => {
if (isWebpack4) {
return {
...options,
plugins: (options.plugins || []).concat(getPostCssPlugin(type)),
};
}
const postcssOptions = options.postcssOptions || {};
return {
...options,
Expand Down
6 changes: 3 additions & 3 deletions packages/rax-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rax-app",
"version": "3.8.16",
"version": "3.8.17",
"description": "command line interface and builtin plugin for rax app",
"author": "Rax Team",
"homepage": "https://github.com/raxjs/rax-app#readme",
Expand All @@ -18,7 +18,7 @@
"build-scripts": "^1.1.0",
"build-plugin-app-core": "2.1.0",
"build-plugin-ice-config": "2.0.2",
"build-plugin-rax-app": "7.0.10",
"build-plugin-rax-app": "7.0.11",
"build-plugin-rax-kraken": "2.1.1",
"build-plugin-rax-miniapp": "2.0.2",
"build-plugin-rax-pha": "2.1.1",
Expand Down Expand Up @@ -56,4 +56,4 @@
"node": ">=12.22.0",
"npm": ">=3.0.0"
}
}
}
4 changes: 4 additions & 0 deletions packages/rax-webpack-config/CHANELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.0.6

- Revert: version of @builder/rax-pack

## v3.0.5

- Feat: update version of `postcss-loader`
Expand Down
4 changes: 2 additions & 2 deletions packages/rax-webpack-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rax-webpack-config",
"version": "3.0.5",
"version": "3.0.6",
"description": "rax base webpack config",
"license": "BSD-3-Clause",
"main": "lib/index.js",
Expand All @@ -18,7 +18,7 @@
"homepage": "https://github.com/raxjs/rax-app/tree/master/packages/rax-webpack-config#readme",
"dependencies": {
"@builder/pack": "^0.6.0",
"@builder/rax-pack": "^1.0.0",
"@builder/rax-pack": "^0.1.0",
"@babel/runtime": "^7.2.0",
"babel-runtime-jsx-plus": "^0.1.3",
"less": "^4.0.0",
Expand Down

0 comments on commit e1a099a

Please sign in to comment.