Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Oct 9, 2018
1 parent d64d6a3 commit 88c9da5
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes to React App Rewire PostCSS

### 3.0.1 (October 9, 2018)

- Fixed: Issue with `build`

### 3.0.0 (October 3, 2018)

- Updated: Support for Create React App 2.
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default (config, options) => {
// find any first matching rule that contains postcss-loader
filterPostCSSLoader(config.module.rules).forEach(rule => {
filterPostCSSLoader(rule.oneOf).forEach(oneOf => {
filterPostCSSLoader(oneOf.use).forEach(use => {
filterPostCSSLoader(oneOf.use || oneOf.loader).forEach(use => {
// use the latest version of postcss-loader
use.loader = require.resolve('postcss-loader');

Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-app-rewire-postcss",
"version": "3.0.0",
"version": "3.0.1",
"description": "Configure PostCSS in Create React App without ejecting",
"author": "Jonathan Neal <[email protected]>",
"license": "CC0-1.0",
Expand Down Expand Up @@ -28,14 +28,14 @@
"postcss-loader": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.6.1",
"eslint-config-dev": "^2.0.0",
"pre-commit": "^1.2.2",
"rollup": "^0.66.3",
"rollup-plugin-babel": "^4.0.1"
"@babel/core": "7.1.2",
"@babel/preset-env": "7.1.0",
"babel-eslint": "9.0.0",
"eslint": "5.6.0",
"eslint-config-dev": "2.0.0",
"pre-commit": "1.2.2",
"rollup": "0.66.5",
"rollup-plugin-babel": "4.0.3"
},
"eslintConfig": {
"extends": "dev",
Expand Down
10 changes: 4 additions & 6 deletions test-cra1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"postcss-preset-env": "^6.0.10",
"react": "^16.5.2",
"react-app-rewire-postcss": "..",
"react-app-rewired": "^1.6.2",
"react-dom": "^16.5.2",
"react-scripts": "1.1.5"
},
Expand All @@ -21,10 +24,5 @@
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"postcss-preset-env": "^6.0.10",
"react-app-rewire-postcss": "..",
"react-app-rewired": "^1.6.2"
}
]
}
10 changes: 4 additions & 6 deletions test-cra2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"private": true,
"dependencies": {
"react": "^16.5.2",
"react-app-rewire-postcss": "..",
"react-app-rewired": "^1.6.2",
"react-dom": "^16.5.2",
"react-scripts": "2.0.3"
"react-scripts": "2.0.4"
},
"scripts": {
"start": "react-app-rewired start",
Expand All @@ -21,9 +23,5 @@
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"react-app-rewire-postcss": "..",
"react-app-rewired": "^1.6.2"
}
]
}

0 comments on commit 88c9da5

Please sign in to comment.