codebandits / react-app-rewire-css-modules

MIT License
69 stars 51 forks source link

Warning: postcss-cssnext found a duplicate plugin #10

Closed BerndWessels closed 5 years ago

BerndWessels commented 6 years ago

I am getting this error with the 1.0.0 version:

Warning: postcss-cssnext found a duplicate plugin ('autoprefixer') in your postcss plugins. This might be inefficient. You should remove 'autoprefixer' from your postcss plugin list since it's already included by postcss-cssnext.

  "dependencies": {
    "aws-amplify": "^0.2.14",
    "react": "^16.3.0",
    "react-dom": "^16.3.0",
    "react-intl": "^2.4.0",
    "rxjs": "^5.5.8"
  },
  "devDependencies": {
    "node-sass": "^4.8.3",
    "react-app-rewire-css-modules": "^1.0.0",
    "react-app-rewire-hot-loader": "^1.0.1",
    "react-app-rewired": "^1.5.0",
    "react-hot-loader": "^4.0.0",
    "react-scripts": "^1.1.3",
    "sass-loader": "^6.0.7"
  },

Maybe the 1.0.0 published to npm is outdated?

lnhrdt commented 5 years ago

Closing this issue and archiving this project in favor of Create React App's native support for CSS Modules introduced in v2.