Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated functionality related to PostCSS - #307 #319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sthzg
Copy link
Member

@sthzg sthzg commented Dec 17, 2016

Note this PR depends on react-webpack-generators/react-webpack-template#77. Its test will pass once the PR from the template repo is released.


  • bumped postcss and postcss-loader versions
  • removed deprecated custom logic related to setting up PostCSS
  • updated tests

As communicated in #307 and on the related PR from @stylesuxx on the
template repo we can use PostCSS` more recent config file feature
instead of modifying our config.

If users prompt the PostCSS question with yes, deps for postcss and
postcss-loader are added to their package.json.

The updated tests check that

  • postcss and postcss-loader deps are added on PostCSS yes
  • postcss and postcss-loader deps are not added on PostCSS no
  • postcss.config.js is copied to the project root

- bumped postcss and postcss-loader versions
- removed deprecated custom logic related to setting up PostCSS
- updated tests

As communicated in #307 and on the related PR from @stylesuxx on the
template repo we can use PostCSS` more recent config file feature
instead of modifying our config.

If users prompt the PostCSS question with yes, deps for postcss and
postcss-loader are added to their package.json.

The updated tests check that
- postcss and postcss-loader deps are added on PostCSS yes
- postcss and postcss-loader deps are not added on PostCSS no
- postcss.config.js is copied to the project root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant