Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Support postcss.config.js #50

Open
rzhw opened this issue Aug 8, 2020 · 0 comments
Open

Support postcss.config.js #50

rzhw opened this issue Aug 8, 2020 · 0 comments
Labels
enhancement New feature or request P3

Comments

@rzhw
Copy link
Contributor

rzhw commented Aug 8, 2020

postcss.config.js is a configuration format used by many PostCSS runners, such as postcss-loader for webpack and rollup-plugin-postcss, and is commonly referred to by PostCSS plugin docs such as Tailwind's.

This is currently low priority, however I've created this issue to gather interest for configuring via postcss.config.js instead of or in addition to the current postcss_binary#plugins approach.

An open design question is how this can work with Bazel's model, which requires all inputs and outputs to be specified ahead of time.

For example, would we need to replicate availability of the special bazel.binDir, bazel.additionalOutputs and bazel.data variables?

Requiring use of these bazel.* variables breaks portability assumptions, if the reason for supporting postcss.config.js is because it's a standardised approach that could be used with other PostCSS runners.

@rzhw rzhw added the enhancement New feature or request label Aug 8, 2020
@rzhw rzhw added the P3 label Sep 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request P3
Projects
None yet
Development

No branches or pull requests

1 participant