diff --git a/CHANGELOG.md b/CHANGELOG.md index 675306d06..71fc96d78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 @@ -116,7 +121,7 @@ Chore: use webpack-chain directly "path": "/", "source": "pages/Home/index", "keepAlive": true, - "lazy": false, + "lazy": false } ] } diff --git a/packages/plugin-rax-app/CHANGELOG.md b/packages/plugin-rax-app/CHANGELOG.md index 6d29123b2..b2ec0e32b 100644 --- a/packages/plugin-rax-app/CHANGELOG.md +++ b/packages/plugin-rax-app/CHANGELOG.md @@ -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 diff --git a/packages/plugin-rax-app/package.json b/packages/plugin-rax-app/package.json index 18a72e437..f027c98e7 100644 --- a/packages/plugin-rax-app/package.json +++ b/packages/plugin-rax-app/package.json @@ -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", @@ -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", diff --git a/packages/plugin-rax-app/src/userConfig/atoms/inlineStyle.js b/packages/plugin-rax-app/src/userConfig/atoms/inlineStyle.js index e13f92472..cedffef9a 100644 --- a/packages/plugin-rax-app/src/userConfig/atoms/inlineStyle.js +++ b/packages/plugin-rax-app/src/userConfig/atoms/inlineStyle.js @@ -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, diff --git a/packages/rax-app/package.json b/packages/rax-app/package.json index cb8fa2aaf..dd07b36b0 100644 --- a/packages/rax-app/package.json +++ b/packages/rax-app/package.json @@ -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", @@ -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", diff --git a/packages/rax-webpack-config/CHANELOG.md b/packages/rax-webpack-config/CHANELOG.md index 048f4b44a..10e2b2c62 100644 --- a/packages/rax-webpack-config/CHANELOG.md +++ b/packages/rax-webpack-config/CHANELOG.md @@ -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 diff --git a/packages/rax-webpack-config/package.json b/packages/rax-webpack-config/package.json index 625fca26d..472700561 100644 --- a/packages/rax-webpack-config/package.json +++ b/packages/rax-webpack-config/package.json @@ -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", @@ -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",