question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Proposal] : Ability to load PostCSS config file from project root directory if exists

See original GitHub issue

Ability to load PostCSS config file from project root directory if exists

I believe create react app help to build awesome web pages and applications by the way developer face a lot of issues with styling their pages or applications now days more of PostCSS plugins reduce that workflows

eg:

  1. stylelint
  2. Tailwind CSS
  3. PostCSS Assets

if create react app load PostCSS config file from project root directory if exists that will allow developers to configure their own configurations to build their awesome web pages and applications.

This is most useful for who like to run yarn eject but fingers is not allow it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
iansucommented, Mar 18, 2019

Yes, that would be the case. That’s also the case for Babel and webpack. The reason being we want to keep things simple for users and we only have the resources to support our primary config. If you start adding plugins there are suddenly a huge number of possible configurations and we don’t have the bandwidth to support that.

We will be adding support for custom templates (as well as the existing support for custom scripts) so someone could always create a PostCSS template to use with Create React App in the future.

0reactions
pavinthancommented, Mar 18, 2019

@iansu if we need to add any PostCSS plugins do we need to eject react-script?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No PostCSS Config found in '/home/react-project/workarea ...
This will be fixed if you either have postcss.config.js in root directory or inline if u have it options, For example
Read more >
The complete guide to customizing a Tailwind CSS theme
The complete tutorial on creating a custom Tailwind CSS theme, including installing Node.js and setting up the PostCSS build process.
Read more >
Twenty Ninety | Sean C Davis
If you want to start by working on your machine, first clone the repo: $ git clone https://github.com/seancdavis/twenty-ninety.git your-project-name.
Read more >
The Asset Pipeline - Ruby on Rails Guides
Fingerprinting is a technique that makes the name of a file dependent on the contents of ... Rails.application.config.assets.paths << Rails.root.join("lib", ...
Read more >
Configuring Jest
To read TypeScript configuration files Jest requires ts-node . ... Use the <rootDir> string token to include the path to your project's root...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found