Skip to content

Commit

Permalink
feat: update postcss-loader (#997)
Browse files Browse the repository at this point in the history
* feat: update postcss-loader

* chore: add changelog

* chore: fix changelog
  • Loading branch information
wjq990112 authored Apr 24, 2022
1 parent e1a099a commit dd8cfb8
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 14 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

## 3.8.18

- Feat: breaking change for `@builder/rax-pack` to update `postcss-loader`
- Feat: breaking change for `rax-webpack-config` to update `postcss-loader`

## 3.8.17

- Revert: compat of postcss-loader options in build-plugin-rax-app
Expand Down Expand Up @@ -93,7 +98,7 @@ SSR: fix chunkInfo is undefined FaaS app
SSR: fix request might be fake that lose url field
SSR: fix devServer.hot should be closed
SSR: fix appConfig might be undefined
Fix: __webpack_public_path__ is invalid in front of page file
Fix: `__webpack_public_path__` is invalid in front of page file
Fix: tabBar show in other page
Fix: child class need use declare with add type for property which extends parent
Fix: miniapp compile mode @alias is invalid
Expand All @@ -116,7 +121,7 @@ Chore: use webpack-chain directly
"path": "/",
"source": "pages/Home/index",
"keepAlive": true,
"lazy": false,
"lazy": false
}
]
}
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.12

- Feat: breaking change for `rax-webpack-config` to update `postcss-loader`

## 7.0.11

- Revert: compat of `postcs-loader` options
Expand Down
4 changes: 2 additions & 2 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.11",
"version": "7.0.12",
"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.0",
"rax-webpack-config": "^4.0.0",
"rax-babel-config": "^2.0.2",
"rax-jest-config": "^1.1.0",
"rax-platform-loader": "^1.1.1",
Expand Down
6 changes: 0 additions & 6 deletions packages/plugin-rax-app/src/userConfig/atoms/inlineStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ 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
4 changes: 2 additions & 2 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.17",
"version": "3.8.18",
"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.11",
"build-plugin-rax-app": "7.0.12",
"build-plugin-rax-kraken": "2.1.1",
"build-plugin-rax-miniapp": "2.0.2",
"build-plugin-rax-pha": "2.1.1",
Expand Down
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

## v4.0.0

- Feat: breaking change for `@builder/rax-pack` to update `postcss-loader`

## v3.0.6

- Revert: version of @builder/rax-pack
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.6",
"version": "4.0.0",
"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": "^0.1.0",
"@builder/rax-pack": "^1.0.0",
"@babel/runtime": "^7.2.0",
"babel-runtime-jsx-plus": "^0.1.3",
"less": "^4.0.0",
Expand Down

0 comments on commit dd8cfb8

Please sign in to comment.